changeset 4320:08e3600dcb1b

fix logging
author Alain Mazy <alain@mazy.be>
date Mon, 23 Nov 2020 14:23:10 +0100
parents 3c85edacd0ee
children 23190ef7b24c
files OrthancFramework/Sources/Logging.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
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);