Fix setting persistent logging via CLI

This commit is contained in:
Do Duy authored and Christian Duerr committed 2019-10-24 05:11:17 +02:00
1 parent d76bb0c697
commit b4a09cd945
1 file changed
+2
+2
View File
@@ -285,6 +285,8 @@ impl Options {
config.debug.print_events = self.print_events || config.debug.print_events;
config.debug.log_level = max(config.debug.log_level, self.log_level);
config.debug.ref_test = self.ref_test || config.debug.ref_test;
config.debug.persistent_logging =
self.persistent_logging || config.debug.persistent_logging;
if config.debug.print_events {
config.debug.log_level = max(config.debug.log_level, LevelFilter::Info);