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
debug target for db logs
matthew-heartful366c5862aff6
diff --git a/screenpipe-server/src/db.rs b/screenpipe-server/src/db.rsindex 9cd405d1c..b5fa9ad4d 100644--- a/screenpipe-server/src/db.rs+++ b/screenpipe-server/src/db.rs@@ -185,7 +185,7 @@ impl DatabaseManager {}// Log the input parameters with limited length- debug!("Inserting OCR text with frame_id: {}, text: {}, text_json: {}, new_text_json_vs_previous_frame: {}, raw_data_output_from_OCR: {}",+ debug!(target: "db::ocr", "Inserting OCR text with frame_id: {}, text: {}, text_json: {}, new_text_json_vs_previous_frame: {}, raw_data_output_from_OCR: {}",frame_id,limit_string(text),limit_string(text_json),@@ -204,7 +204,7 @@ impl DatabaseManager {.await?;// Log successful insertion- debug!("Successfully inserted OCR text for frame_id: {}", frame_id);+ debug!(target: "db::ocr", "Successfully inserted OCR text for frame_id: {}", frame_id);tx.commit().await?;Ok(())