mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fixed error in prev. revision [#CONV-2833].
This commit is contained in:
parent
6069ce3961
commit
d303caa3ef
@ -128,7 +128,7 @@ void Daemon::buildLoggers()
|
|||||||
file->setProperty("path", Poco::Path(config().getString("logger.log")).absolute().toString());
|
file->setProperty("path", Poco::Path(config().getString("logger.log")).absolute().toString());
|
||||||
file->setProperty("rotation", config().getRawString("logger.size", "100M"));
|
file->setProperty("rotation", config().getRawString("logger.size", "100M"));
|
||||||
file->setProperty("archive", "number");
|
file->setProperty("archive", "number");
|
||||||
file->setProperty("compression", config().getRawString("logger.compression", "true"));
|
file->setProperty("compress", config().getRawString("logger.compress", "true"));
|
||||||
file->setProperty("purgeCount", config().getRawString("logger.count", "1"));
|
file->setProperty("purgeCount", config().getRawString("logger.count", "1"));
|
||||||
log->setChannel(file);
|
log->setChannel(file);
|
||||||
split->addChannel(log);
|
split->addChannel(log);
|
||||||
@ -146,7 +146,7 @@ void Daemon::buildLoggers()
|
|||||||
errorfile->setProperty("path", Poco::Path(config().getString("logger.errorlog")).absolute().toString());
|
errorfile->setProperty("path", Poco::Path(config().getString("logger.errorlog")).absolute().toString());
|
||||||
errorfile->setProperty("rotation", config().getRawString("logger.size", "100M"));
|
errorfile->setProperty("rotation", config().getRawString("logger.size", "100M"));
|
||||||
errorfile->setProperty("archive", "number");
|
errorfile->setProperty("archive", "number");
|
||||||
file->setProperty("compression", config().getRawString("logger.compression", "true"));
|
file->setProperty("compress", config().getRawString("logger.compress", "true"));
|
||||||
errorfile->setProperty("purgeCount", config().getRawString("logger.count", "1"));
|
errorfile->setProperty("purgeCount", config().getRawString("logger.count", "1"));
|
||||||
errorlog->setChannel(errorfile);
|
errorlog->setChannel(errorfile);
|
||||||
level->setChannel(errorlog);
|
level->setChannel(errorlog);
|
||||||
|
Loading…
Reference in New Issue
Block a user