Skip to content

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

chore: remove noise from logs

Louis Beaumont79efa53a4080
diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rs
index 1811c7a26..92727c202 100644
--- a/screenpipe-server/src/bin/screenpipe-server.rs
+++ b/screenpipe-server/src/bin/screenpipe-server.rs
@@ -144,11 +144,10 @@ async fn main() -> anyhow::Result<()> {
// Trigger keyboard permission request
if let Err(e) = trigger_keyboard_permission() {
- error!("Failed to trigger keyboard permission: {:?}", e);
- error!("Please grant keyboard permission manually in System Preferences.");
- h.capture_error("Please grant keyboard permission manually in System Preferences.");
+ warn!("failed to trigger keyboard permission: {:?}", e);
+ warn!("please grant keyboard permission manually in System Preferences.");
} else {
- info!("Keyboard permission requested. Please grant permission if prompted.");
+ info!("keyboard permission requested. please grant permission if prompted.");
}
}
use screenpipe_audio::{trigger_audio_permission, vad_engine::SileroVad, whisper::WhisperModel};
@@ -156,20 +155,18 @@ async fn main() -> anyhow::Result<()> {
// Trigger audio permission request
if let Err(e) = trigger_audio_permission() {
- error!("Failed to trigger audio permission: {:?}", e);
- error!("Please grant microphone permission manually in System Preferences.");
- h.capture_error("Please grant microphone permission manually in System Preferences.");
+ warn!("failed to trigger audio permission: {:?}", e);
+ warn!("please grant microphone permission manually in System Preferences.");
} else {
- info!("Audio permission requested. Please grant permission if prompted.");
+ info!("audio permission requested. please grant permission if prompted.");
}
// Trigger screen capture permission request
if let Err(e) = trigger_screen_capture_permission() {
- error!("Failed to trigger screen capture permission: {:?}", e);
- error!("Please grant screen recording permission manually in System Preferences.");
- h.capture_error("Please grant microphone permission manually in System Preferences.");
+ warn!("failed to trigger screen capture permission: {:?}", e);
+ warn!("please grant screen recording permission manually in System Preferences.");
} else {
- info!("Screen capture permission requested. Please grant permission if prompted.");
+ info!("screen capture permission requested. please grant permission if prompted.");
}
// this command just download models and stuff (useful to have specific step to display in UI)
@@ -190,9 +187,8 @@ async fn main() -> anyhow::Result<()> {
match check_ffmpeg().await {
Ok(_) => info!("FFmpeg is working properly"),
Err(e) => {
- error!("FFmpeg check failed: {}", e);
- error!("Please ensure FFmpeg is installed correctly and is in your PATH");
- h.capture_error("Please ensure FFmpeg is installed correctly and is in your PATH");
+ warn!("ffmpeg check failed: {}", e);
+ warn!("please ensure ffmpeg is installed correctly and is in your PATH");
return Err(e.into());
}
}