mirror of https://github.com/Icinga/icinga2.git
Fix incorrect ::Start call
This commit is contained in:
parent
cf79724eb9
commit
5dab779df6
|
@ -46,11 +46,11 @@ void FileLogger::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr&)
|
||||||
*/
|
*/
|
||||||
void FileLogger::Start(bool runtimeCreated)
|
void FileLogger::Start(bool runtimeCreated)
|
||||||
{
|
{
|
||||||
ObjectImpl<FileLogger>::Start(runtimeCreated);
|
|
||||||
|
|
||||||
ReopenLogFile();
|
ReopenLogFile();
|
||||||
|
|
||||||
Application::OnReopenLogs.connect(boost::bind(&FileLogger::ReopenLogFile, this));
|
Application::OnReopenLogs.connect(boost::bind(&FileLogger::ReopenLogFile, this));
|
||||||
|
|
||||||
|
ObjectImpl<FileLogger>::Start(runtimeCreated);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileLogger::ReopenLogFile(void)
|
void FileLogger::ReopenLogFile(void)
|
||||||
|
|
Loading…
Reference in New Issue