From 6a1ac6a902ae87013e26d2469ec5fe459bfcbead Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 18 Dec 2017 09:32:09 +0100 Subject: [PATCH] Fix incorrect ::Start call --- lib/base/filelogger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base/filelogger.cpp b/lib/base/filelogger.cpp index fdd987d80..d8d9fb574 100644 --- a/lib/base/filelogger.cpp +++ b/lib/base/filelogger.cpp @@ -46,11 +46,11 @@ void FileLogger::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr&) */ void FileLogger::Start(bool runtimeCreated) { - ObjectImpl::Start(runtimeCreated); - ReopenLogFile(); Application::OnReopenLogs.connect(std::bind(&FileLogger::ReopenLogFile, this)); + + ObjectImpl::Start(runtimeCreated); } void FileLogger::ReopenLogFile(void)