YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
chore: improve logging
Louis Beaumont1e6b78a2f117
diff --git a/screenpipe-server/src/core.rs b/screenpipe-server/src/core.rsindex 71535c930..718dc2e5c 100644--- a/screenpipe-server/src/core.rs+++ b/screenpipe-server/src/core.rs@@ -332,7 +332,7 @@ async fn process_audio_result(}let transcription = result.transcription.unwrap();- info!("Inserting audio chunk: {:?}", transcription);+ info!("Inserting audio chunk: {:?}", result.input.path);match db.insert_audio_chunk(&result.input.path).await {Ok(audio_chunk_id) => {// if audio text is empty skip transcription insertiondiff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rsindex 6229e39e2..a1bbea50e 100644--- a/screenpipe-server/src/server.rs+++ b/screenpipe-server/src/server.rs@@ -515,21 +515,11 @@ impl Server {.layer(// https://github.com/tokio-rs/axum/blob/main/examples/tracing-aka-logging/src/main.rsTraceLayer::new_for_http()- .make_span_with(DefaultMakeSpan::new().include_headers(true))- .on_request(DefaultOnRequest::new().level(Level::INFO))- .on_response(- DefaultOnResponse::new()- .level(Level::INFO)- .latency_unit(LatencyUnit::Micros),- ),+ .make_span_with(DefaultMakeSpan::new().include_headers(true)),).with_state(app_state);info!("Starting server on {}", self.addr);- // info!("Audio devices:");- // for (device, control) in device_status.iter() {- // info!("{}: {}", device, control.is_running);- // }match serve(TcpListener::bind(self.addr).await?, app.into_make_service()).await {Ok(_) => {