From 9d972f12b403cbec36a356b9baf0d5b13a2d7574 Mon Sep 17 00:00:00 2001 From: AKorpusenko Date: Fri, 8 Dec 2017 18:33:57 +0300 Subject: [PATCH] Fixed default log configuration to prevent logs being in json by default. #5 --- src/log/logger_config.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/log/logger_config.cpp b/src/log/logger_config.cpp index 1621f712b..cc68ae756 100644 --- a/src/log/logger_config.cpp +++ b/src/log/logger_config.cpp @@ -76,13 +76,9 @@ namespace fc { c.push_back(mutable_variant_object("level", "error")("color", "red")); cfg.appenders.push_back(appender_config("stderr", "console", - mutable_variant_object()("stream", "std_error")("level_colors", c))); + mutable_variant_object()("stream", "std_error")("level_colors", c))); cfg.appenders.push_back( appender_config("stdout", "console", mutable_variant_object()("stream", "std_out")("level_colors", c))); - cfg.appenders.push_back(appender_config("stderr", "json_console", - mutable_variant_object()("stream", "std_error")("level_colors", c))); - cfg.appenders.push_back(appender_config("stdout", "json_console", - mutable_variant_object()("stream", "std_out")("level_colors", c))); logger_config dlc; dlc.name = "default";