Update src/Loggers/Loggers.cpp

Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
This commit is contained in:
Mallik Hassan 2022-08-30 16:18:08 -03:00
parent ea517de61a
commit 87a28c25f5

View File

@ -100,7 +100,7 @@ void Loggers::buildLoggers(Poco::Util::AbstractConfiguration & config, Poco::Log
Poco::AutoPtr<OwnPatternFormatter> pf; Poco::AutoPtr<OwnPatternFormatter> pf;
if (config.getString("logger.formatting.type", "") == "json") if (config.getString("logger.formatting.type", "") == "json")
pf = new OwnJSONPatternFormatter(config); pf = new OwnJSONPatternFormatter(config);
else else
pf = new OwnPatternFormatter; pf = new OwnPatternFormatter;