Merge pull request #6455 from Icinga/feature/filelogger-started

Log something when the Filelogger has been started
This commit is contained in:
Michael Friedrich 2018-07-26 10:01:06 +02:00 committed by GitHub
commit fcc32957cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,9 @@ void FileLogger::Start(bool runtimeCreated)
Application::OnReopenLogs.connect(std::bind(&FileLogger::ReopenLogFile, this));
ObjectImpl<FileLogger>::Start(runtimeCreated);
Log(LogInformation, "FileLogger")
<< "'" << GetName() << "' started.";
}
void FileLogger::ReopenLogFile()