Skip to content

Commit

Permalink
no color in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Jul 22, 2024
1 parent e756425 commit 42f9767
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mirrord/layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ fn init_tracing() {
if let Ok(console_addr) = std::env::var("MIRRORD_CONSOLE_ADDR") {
mirrord_console::init_logger(&console_addr).expect("logger initialization failed");
} else {
std::env::set_var("NO_COLOR", "boo");
tracing_subscriber::registry()
.with(
tracing_subscriber::fmt::layer()
Expand Down

0 comments on commit 42f9767

Please sign in to comment.