Skip to content

Commit 4ac494a

Browse files
committed
logging: initialize_tracing should max WARN
Warnings should always appear, so we should set the max level to WARN. Signed-off-by: Omer Tuchfeld <[email protected]>
1 parent 0fc7830 commit 4ac494a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/src/tracing_util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ pub fn initialize_tracing() {
1414
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
1515
.event_format(format)
1616
.with_writer(std::io::stderr)
17+
.with_max_level(tracing::Level::WARN)
1718
.init();
1819
}

0 commit comments

Comments
 (0)