From 9e8ff8cad72d066e8a2e9efb5995027ded6042a4 Mon Sep 17 00:00:00 2001 From: Goldstein Date: Fri, 25 Aug 2023 11:27:48 +0300 Subject: [PATCH] info -> error --- elfo-logger/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elfo-logger/src/lib.rs b/elfo-logger/src/lib.rs index 7af5631f..6f9603e9 100644 --- a/elfo-logger/src/lib.rs +++ b/elfo-logger/src/lib.rs @@ -91,7 +91,8 @@ pub fn init() -> Blueprint { "can't integrate with log adapter, logs produced via `log` crate might be not available", ); } else { - log::info!("Initialized tracing_log adapter"); + // Required to initialize `tracing-log` logs detection in `filtering_layer`. + log::error!("initialized tracing_log adapter"); } }