diff OrthancFramework/Sources/Logging.cpp @ 4320:08e3600dcb1b

fix logging
author Alain Mazy <alain@mazy.be>
date Mon, 23 Nov 2020 14:23:10 +0100
parents a691916ab535
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/Logging.cpp	Mon Nov 23 12:04:59 2020 +0100
+++ b/OrthancFramework/Sources/Logging.cpp	Mon Nov 23 14:23:10 2020 +0100
@@ -718,11 +718,6 @@
 
     void Reset()
     {
-      if (logTargetFile_.empty() && logTargetFolder_.empty())
-      {
-        return;
-      }
-
       {
         boost::mutex::scoped_lock lock(loggingStreamsMutex_);
         loggingStreamsContext_.reset(new LoggingStreamsContext);