Skip to content

Commit

Permalink
fix(log): go back to not displaying targets for terminal logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Apr 3, 2023
1 parent 09e81bd commit 5cb06a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Expand Up @@ -196,12 +196,14 @@ impl Orogene {
.with(
tracing_subscriber::fmt::layer()
.without_time()
.with_target(false)
.with_filter(filter),
)
.with(
fmt::layer()
.with_timer(tracing_subscriber::fmt::time::uptime())
.with_writer(non_blocking)
.with_target(false)
.with_filter(targets),
)
.init();
Expand All @@ -211,13 +213,15 @@ impl Orogene {
tracing_subscriber::fmt::layer()
.without_time()
.with_writer(ilayer.get_stderr_writer())
.with_target(false)
.with_filter(filter),
)
.with(ilayer.with_filter(LevelFilter::DEBUG))
.with(
fmt::layer()
.with_timer(tracing_subscriber::fmt::time::uptime())
.with_writer(non_blocking)
.with_target(false)
.with_filter(targets),
)
.init();
Expand Down

0 comments on commit 5cb06a7

Please sign in to comment.