mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-10 17:21:03 -04:00
Merge pull request #5943 from Icinga/fix/incorrect-start-call
Fix incorrect ::Start call
This commit is contained in:
commit
7fc25dcb98
1 changed files with 2 additions and 2 deletions
|
|
@ -46,11 +46,11 @@ void FileLogger::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr&)
|
|||
*/
|
||||
void FileLogger::Start(bool runtimeCreated)
|
||||
{
|
||||
ObjectImpl<FileLogger>::Start(runtimeCreated);
|
||||
|
||||
ReopenLogFile();
|
||||
|
||||
Application::OnReopenLogs.connect(std::bind(&FileLogger::ReopenLogFile, this));
|
||||
|
||||
ObjectImpl<FileLogger>::Start(runtimeCreated);
|
||||
}
|
||||
|
||||
void FileLogger::ReopenLogFile(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue