Skip to content

Commit

Permalink
[CHORE] Make everything except chroma INFO. Make chroma DEBUG. (#…
Browse files Browse the repository at this point in the history
…3317)

This increases verbosity of non-chroma crates and decreases verbosity of
chroma.
  • Loading branch information
rescrv authored Dec 17, 2024
1 parent 51043b9 commit 7d0f95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/worker/src/tracing/opentelemetry_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub(crate) fn init_otel_tracing(service_name: &String, otel_endpoint: &String) {
// global filter layer. Don't filter anything at above trace at the global layer for chroma.
// And enable errors for every other library.
let global_layer = EnvFilter::new(std::env::var("RUST_LOG").unwrap_or_else(|_| {
"error,".to_string()
"info,".to_string()
+ &vec![
"chroma",
"chroma-blockstore",
Expand All @@ -149,7 +149,7 @@ pub(crate) fn init_otel_tracing(service_name: &String, otel_endpoint: &String) {
"worker",
]
.into_iter()
.map(|s| s.to_string() + "=trace")
.map(|s| s.to_string() + "=debug")
.collect::<Vec<String>>()
.join(",")
}));
Expand Down

0 comments on commit 7d0f95d

Please sign in to comment.