mirror of https://github.com/Icinga/icinga2.git
Log something when the Filelogger has been started
Helps to see whether the logger object is active, spotted during #6445
This commit is contained in:
parent
7593d15e95
commit
7c2e999f1f
|
@ -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…
Reference in New Issue