Include thread_id in the logs (#592)

Include `thread_id` in the logs.
This commit is contained in:
Mohammad Dashti
2023-09-20 09:11:16 -07:00
committed by GitHub
parent c0112f6f12
commit 7f5639c94a

View File

@@ -8,6 +8,7 @@ pub fn init(args: &Args) {
let filter = EnvFilter::from_default_env().add_directive(args.log_level.into());
let trace_sub = tracing_subscriber::fmt()
.with_thread_ids(true)
.with_env_filter(filter)
.with_ansi(!args.no_color);