Skip to content

Commit c849806

Browse files
authored
[BUG] Enable trace-level logging for chroma-system crate (#5785)
## Description of changes In #5706, we dropped trace-level logging for the `chroma` crate, which was only intended to reduce the log level for the chroma client crate. However, because `RUST_LOG` uses prefix-based matching, this also inadvertently dropped trace-level logging for the `chroma-system` crate (and ALL other `chroma`-prefixed crates that weren't explicitly set to `trace`-level), because `chroma-system` wasn't previously explicitly enabled for trace-level logging. This PR fixes the log level for `chroma-system` (and other `chroma`-prefixed crates) by specifically setting trace-level logging for crate. ## Test plan CI ## Migration plan n/a ## Observability plan Verify that trace-level logging for chroma-system crate is re-enabled. ## Documentation Changes n/a
1 parent 92084f7 commit c849806

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

rust/tracing/src/init_tracer.rs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,28 @@ pub fn init_global_filter_layer(
5252
"chroma_cache",
5353
"chroma_distance",
5454
"chroma_error",
55-
"chroma_log",
56-
"chroma_log-service",
55+
"chroma_frontend",
5756
"chroma_index",
57+
"chroma_log",
58+
"chroma_log_service",
59+
"chroma_memberlist",
60+
"chroma_metering",
61+
"chroma_metering_macros",
62+
"chroma_segment",
63+
"chroma_sqlite",
64+
"chroma_storage",
65+
"chroma_sysdb",
66+
"chroma_system",
5867
"chroma_test",
68+
"chroma_tracing",
5969
"chroma_types",
6070
"compaction_service",
6171
"distance_metrics",
6272
"full_text",
6373
"metadata_filtering",
6474
"query_service",
75+
"s3heap",
76+
"s3heap_service",
6577
"wal3",
6678
"worker",
6779
];

0 commit comments

Comments
 (0)