From: Gunnar Beutner Date: Fri, 6 Sep 2013 12:53:21 +0000 (+0200) Subject: cluster: Rotate the log more frequently. X-Git-Tag: v0.0.3~594 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad5f96b190c0598134f28d8d25aeb997ce2a42e0;p=icinga2 cluster: Rotate the log more frequently. --- diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index ebc18124d..96dbbce8f 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -230,7 +230,7 @@ void ClusterComponent::RelayMessage(const Endpoint::Ptr& except, const Dictionar m_LogMessageCount++; m_LogMessageTimestamp = ts; - if (m_LogMessageCount > 250000) { + if (m_LogMessageCount > 50000) { CloseLogFile(); RotateLogFile(); OpenLogFile();