From 2cc2822075ec1383978f5da210739226bb8c728e Mon Sep 17 00:00:00 2001 From: Philipp Hoenisch Date: Fri, 15 Oct 2021 08:50:18 +1100 Subject: [PATCH] Set default log level for whole crate --- daemon/src/logger.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/src/logger.rs b/daemon/src/logger.rs index 16f1329..50551c1 100644 --- a/daemon/src/logger.rs +++ b/daemon/src/logger.rs @@ -13,6 +13,7 @@ pub fn init(level: LevelFilter, json_format: bool) -> Result<()> { let filter = EnvFilter::from_default_env() .add_directive(format!("taker={}", level).parse()?) .add_directive(format!("maker={}", level).parse()?) + .add_directive(format!("daemon={}", level).parse()?) .add_directive(format!("rocket={}", level).parse()?); let builder = FmtSubscriber::builder()