mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added compression of program logs [#CONV-2833].
This commit is contained in:
parent
7e0d8039ee
commit
8789c0a8ca
@ -128,6 +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("purgeCount", config().getRawString("logger.count", "1"));
|
||||
log->setChannel(file);
|
||||
split->addChannel(log);
|
||||
|
Loading…
Reference in New Issue
Block a user