From 5dab779df66177a5cf87f20e11d65661026b8ad2 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 233692a25..44d5889e8 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(boost::bind(&FileLogger::ReopenLogFile, this)); + + ObjectImpl::Start(runtimeCreated); } void FileLogger::ReopenLogFile(void) -- 2.40.0