From 96066cd927833083a091514874bf4dd9f23986d0 Mon Sep 17 00:00:00 2001 From: Nicolaas Geldenhuys Date: Wed, 16 Feb 2022 21:29:55 +0200 Subject: [PATCH] tracing: Fix wrong log level in warn macro Fixes: #1929 --- tracing/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing/src/macros.rs b/tracing/src/macros.rs index eb80bf0592..f841880ec0 100644 --- a/tracing/src/macros.rs +++ b/tracing/src/macros.rs @@ -1695,7 +1695,7 @@ macro_rules! warn { (%$($k:ident).+ = $($field:tt)*) => ( $crate::event!( target: module_path!(), - $crate::Level::TRACE, + $crate::Level::WARN, { %$($k).+ = $($field)*} ) );