diff --git a/apps/desktop/src-tauri/src/qdrant.rs b/apps/desktop/src-tauri/src/qdrant.rs index abd54bf777..5bef1469b5 100644 --- a/apps/desktop/src-tauri/src/qdrant.rs +++ b/apps/desktop/src-tauri/src/qdrant.rs @@ -6,7 +6,7 @@ use std::{ use sentry::Level; use tauri::{plugin::Plugin, Runtime}; -use tracing::{error, warn}; +use tracing::{error, info, warn}; use super::relative_command_path; @@ -136,11 +136,14 @@ fn run_command(command: &Path, qdrant_dir: &Path, stdout: &Path, stderr: &Path) match getrlimit(Resource::RLIMIT_NOFILE) { Ok((current_soft, current_hard)) => { let new_soft = current_hard.min(10000); + info!(current_soft, current_hard, "got rlimit/nofile"); if let Err(err) = setrlimit(Resource::RLIMIT_NOFILE, new_soft, current_hard) { error!( ?err, new_soft, current_soft, current_hard, "failed to set rlimit/nofile" ); + } else { + info!(new_soft, current_hard, "set rlimit/nofile"); } } Err(err) => { diff --git a/server/bleep/src/lib.rs b/server/bleep/src/lib.rs index f0e9ade67e..53e76d996e 100644 --- a/server/bleep/src/lib.rs +++ b/server/bleep/src/lib.rs @@ -425,7 +425,8 @@ fn tracing_subscribe(config: &Configuration) -> bool { Targets::new() .with_target("bleep", LevelFilter::DEBUG) .with_target("bleep::indexes::file", LevelFilter::WARN) - .with_target("bleep::semantic", LevelFilter::DEBUG), + .with_target("bleep::semantic", LevelFilter::DEBUG) + .with_target("bloop::qdrant", LevelFilter::INFO), ) });