write threads info into log only when debugging
This commit is contained in:
@@ -203,7 +203,7 @@ fn init_logging() {
|
||||
.with_verbose_exit(true)
|
||||
.with_verbose_entry(true)
|
||||
.with_indent_amount(2);
|
||||
#[cfg(parallel_compiler)]
|
||||
#[cfg(all(parallel_compiler, debug_assertions))]
|
||||
let layer = layer.with_thread_ids(true).with_thread_names(true);
|
||||
|
||||
use tracing_subscriber::layer::SubscriberExt;
|
||||
|
||||
Reference in New Issue
Block a user