Fix incorrect ::Start call

This commit is contained in:
Gunnar Beutner 2017-12-18 09:32:09 +01:00
parent cf79724eb9
commit 5dab779df6
1 changed files with 2 additions and 2 deletions

View File

@ -46,11 +46,11 @@ void FileLogger::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr&)
*/
void FileLogger::Start(bool runtimeCreated)
{
ObjectImpl<FileLogger>::Start(runtimeCreated);
ReopenLogFile();
Application::OnReopenLogs.connect(boost::bind(&FileLogger::ReopenLogFile, this));
ObjectImpl<FileLogger>::Start(runtimeCreated);
}
void FileLogger::ReopenLogFile(void)