diff --git a/zebrad/src/application.rs b/zebrad/src/application.rs index 3f026a97..606acaa3 100644 --- a/zebrad/src/application.rs +++ b/zebrad/src/application.rs @@ -111,18 +111,13 @@ impl Application for ZebradApp { .as_ref() .expect("config is loaded before register_components"); + let default_filter = if command.verbose { "debug" } else { "info" }; let is_server = command .command .as_ref() .map(ZebradCmd::is_server) .unwrap_or(false); - let default_filter = if is_server || command.verbose { - "info" - } else { - "warn" - }; - // Launch network endpoints for long-running commands if is_server { let filter = cfg_ref.tracing.filter.as_deref().unwrap_or(default_filter);