Improvement to prev. revision [#CONV-2833].

This commit is contained in:
Alexey Milovidov 2011-07-27 19:38:00 +00:00
parent 8789c0a8ca
commit f3a5c83638

View File

@ -128,7 +128,7 @@ void Daemon::buildLoggers()
file->setProperty("path", Poco::Path(config().getString("logger.log")).absolute().toString());
file->setProperty("rotation", config().getRawString("logger.size", "100M"));
file->setProperty("archive", "number");
file->setProperty("compression", "true");
file->setProperty("compression", config().getRawString("logger.compression", "true"));
file->setProperty("purgeCount", config().getRawString("logger.count", "1"));
log->setChannel(file);
split->addChannel(log);