From fab19833b4fefbfc8a0afd0a2fdc8483a34c2ed8 Mon Sep 17 00:00:00 2001 From: Janito Vaqueiro Ferreira Filho Date: Thu, 12 Sep 2024 18:46:54 -0300 Subject: [PATCH] Change order of log layers to avoid italics (#2487) Making the layer without ANSI escape sequences come first seems to workaround the issue. --- linera-base/src/tracing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linera-base/src/tracing.rs b/linera-base/src/tracing.rs index 3ce455141e34..a2a59f7158d5 100644 --- a/linera-base/src/tracing.rs +++ b/linera-base/src/tracing.rs @@ -68,8 +68,8 @@ pub fn init(log_name: &str) { tracing_subscriber::registry() .with(env_filter) - .with(stderr_layer) .with(maybe_log_file_layer) + .with(stderr_layer) .init(); }