From dc74c280abf1ba98cc5924c99ca0580c9189a6d1 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Wed, 17 Apr 2019 22:36:10 +0200 Subject: [PATCH] [ref] core: remove useless combined logger --- lib/core/core/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/core/lib.rs b/lib/core/core/lib.rs index d6798731..1de04dc4 100644 --- a/lib/core/core/lib.rs +++ b/lib/core/core/lib.rs @@ -739,7 +739,7 @@ pub fn init_logger(profile: &str, soft_name: &'static str, cli_args: &ArgMatches .expect("Fatal error : fail to create log file path !"); } - CombinedLogger::init(vec![WriteLogger::new( + WriteLogger::init( log_level.to_level_filter(), logger_config, OpenOptions::new() @@ -751,7 +751,7 @@ pub fn init_logger(profile: &str, soft_name: &'static str, cli_args: &ArgMatches .expect("Fatal error : fail to get log file path !"), ) .expect("Fatal error : fail to open log file !"), - )]) + ) .expect("Fatal error : fail to init logger !"); info!("Successfully init logger"); -- GitLab