@@ -24,19 +24,18 @@ use uuid::Uuid;
2424static TRACING : Lazy < ( ) > = Lazy :: new ( || {
2525 let mut settings = LogSettings {
2626 tracing_level : "info" . into ( ) ,
27- log_output_file : "debug" . into ( ) ,
28- enable_console_log : Some ( true ) ,
29- console_tracing_level : Some ( "debug" . to_string ( ) ) ,
27+ journald : Some ( false ) ,
28+ pretty_log : Some ( true ) ,
3029 } ;
3130
3231 if std:: env:: var ( "TEST_LOG" ) . is_ok ( ) {
3332 let level = std:: env:: var ( "TEST_LOG" ) . expect ( "Failed to read the content of TEST_LOG var" ) ;
3433 match level. as_str ( ) {
35- "info" => settings. console_tracing_level = Some ( "info" . into ( ) ) ,
36- "debug" => settings. console_tracing_level = Some ( "debug" . into ( ) ) ,
37- "warn" => settings. console_tracing_level = Some ( "warn" . into ( ) ) ,
38- "error" => settings. console_tracing_level = Some ( "error" . into ( ) ) ,
39- & _ => settings. console_tracing_level = Some ( "none" . into ( ) ) ,
34+ "info" => settings. tracing_level = "info" . into ( ) ,
35+ "debug" => settings. tracing_level = "debug" . into ( ) ,
36+ "warn" => settings. tracing_level = "warn" . into ( ) ,
37+ "error" => settings. tracing_level = "error" . into ( ) ,
38+ & _ => settings. tracing_level = "none" . into ( ) ,
4039 }
4140
4241 if level != "none" {
0 commit comments