mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user