diff --git a/appdep/iflytop/core/spdlogfactory/logger_factory.cpp b/appdep/iflytop/core/spdlogfactory/logger_factory.cpp index 6273809..c8b3a57 100644 --- a/appdep/iflytop/core/spdlogfactory/logger_factory.cpp +++ b/appdep/iflytop/core/spdlogfactory/logger_factory.cpp @@ -139,26 +139,17 @@ static bool c_daily_file_sink_mt(json j) { } }; #endif - static string default_config = R"( [ { "name": "infologger", "type": "daily_file_sink_mt", "filename": "logs/infolog.log", - "max_files": 30, + "max_files": 3, "rotate_on_open": true, "level" : 2 }, { - "name": "debuglogger", - "type": "daily_file_sink_mt", - "filename": "logs/debuglog.log", - "max_files": 10, - "rotate_on_open": true, - "level": 0 - }, - { "name": "terminal", "type": "stdout_color_sink_mt" }, @@ -168,7 +159,6 @@ static string default_config = R"( "level": 2, "sinks": [ "terminal", - "debuglogger", "infologger" ] }