Skip to content

Commit 597edc8

Browse files
committed
Don't report the thread number in debug messages
1 parent aa077fe commit 597edc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/logging.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ pub fn initialize_logger(verbose: bool, quiet: bool) {
1818
let config = ConfigBuilder::new()
1919
// Display a time stamp only for the most verbose level.
2020
.set_time_level(LevelFilter::Trace)
21+
// Display the thread number only for the most verbose level.
22+
// The information is hardly useful because newdoc is single-threaded.
23+
.set_thread_level(LevelFilter::Trace)
2124
.build();
2225

2326
TermLogger::init(

0 commit comments

Comments
 (0)