mirror of https://github.com/Icinga/icinga2.git
parent
619266bf97
commit
4ed19d5cf6
|
@ -220,7 +220,7 @@ void ApiListener::Start(bool runtimeCreated)
|
|||
ObjectImpl<ApiListener>::Start(runtimeCreated);
|
||||
|
||||
{
|
||||
boost::mutex::scoped_lock(m_LogLock);
|
||||
boost::mutex::scoped_lock lock(m_LogLock);
|
||||
RotateLogFile();
|
||||
OpenLogFile();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue