mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Merge pull request #6455 from Icinga/feature/filelogger-started
Log something when the Filelogger has been started
This commit is contained in:
commit
fcc32957cb
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user