File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ use tracing_subscriber::{
2424 EnvFilter , Registry ,
2525} ;
2626
27- const LOG_CONFIGURATION_ENVVAR : & str = "RUST_LOG" ;
27+ const LOG_VERBOSITY_LEVEL_ENVVAR : & str = "RUST_LOG" ;
2828
2929const LOG_FIELD_MESSAGE : & str = "message" ;
3030const LOG_FIELD_TARGET : & str = "log.target" ;
@@ -337,9 +337,9 @@ pub fn init_with_config(config: &LoggingConfig) -> anyhow::Result<()> {
337337 let formatter = format:: debug_fn ( format_into_debug_writer as FormatDebugFn ) ;
338338
339339 let filter = EnvFilter :: new (
340- env:: var ( LOG_CONFIGURATION_ENVVAR )
340+ env:: var ( LOG_VERBOSITY_LEVEL_ENVVAR )
341341 . as_deref ( )
342- . unwrap_or ( "warn,casper_node=debug " ) ,
342+ . unwrap_or ( "warn,casper_node=info " ) ,
343343 ) ;
344344
345345 match config. format {
You can’t perform that action at this time.
0 commit comments