Skip to content

Commit 7f5639c

Browse files
authored
Include thread_id in the logs (#592)
Include `thread_id` in the logs.
1 parent c0112f6 commit 7f5639c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/logger.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pub fn init(args: &Args) {
88
let filter = EnvFilter::from_default_env().add_directive(args.log_level.into());
99

1010
let trace_sub = tracing_subscriber::fmt()
11+
.with_thread_ids(true)
1112
.with_env_filter(filter)
1213
.with_ansi(!args.no_color);
1314

0 commit comments

Comments
 (0)