From 9a094fcd94a136aa7cda1c455406e270a843a533 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 5 Apr 2016 17:46:51 +0200 Subject: [PATCH] Partially revert 7f1a671 Removed the logger initialization, which was not caught by review somehow. This patch re-adds the appropriate lines. --- libimagrt/src/runtime.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libimagrt/src/runtime.rs b/libimagrt/src/runtime.rs index 3ff43d76..ce21a19d 100644 --- a/libimagrt/src/runtime.rs +++ b/libimagrt/src/runtime.rs @@ -45,7 +45,11 @@ impl<'a> Runtime<'a> { use configuration::error::ConfigErrorKind; let matches = cli_spec.get_matches(); + let is_debugging = matches.is_present("debugging"); + let is_verbose = matches.is_present("verbosity"); + + Runtime::init_logger(is_debugging, is_verbose); let rtp : PathBuf = matches.value_of("runtimepath") .map(PathBuf::from)