This commit is contained in:
Konstantin Bogdanov 2024-10-17 23:24:13 +02:00
parent 2ed06b791b
commit b4bdf5bbcf
Signed by: thevar1able
GPG Key ID: DB399448D9FE52F1

View File

@ -630,8 +630,8 @@ void BaseDaemon::setupWatchdog()
logger().setChannel(log);
}
/// Cuncurrent writing logs to the same file from two threads is questionable on its own,
/// but rotating them from two threads is disastrous.
/// Concurrent writing logs to the same file from two threads is questionable on its own,
/// but rotating them from two threads is disastrous.
if (auto * channel = dynamic_cast<OwnSplitChannel *>(logger().getChannel()))
{
channel->setChannelProperty("log", Poco::FileChannel::PROP_ROTATION, "never");