Skip to content

Commit

Permalink
style fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
anmenaga committed Oct 31, 2024
1 parent 35768c4 commit a590112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsc/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ pub fn enable_tracing(trace_level_arg: &Option<TraceLevel>, trace_format_arg: &O
let mut tracing_setting = TracingSetting::default();

let default_filter = EnvFilter::try_from_default_env()
.or_else(|_| EnvFilter::try_new("warning"))
.or_else(|_| EnvFilter::try_new("error"))
.unwrap_or_default()
.add_directive(Level::TRACE.into());
.add_directive(Level::ERROR.into());
let default_indicatif_layer = IndicatifLayer::new();
let default_layer = tracing_subscriber::fmt::Layer::default().with_writer(default_indicatif_layer.get_stderr_writer());
let default_fmt = default_layer
Expand Down

0 comments on commit a590112

Please sign in to comment.