diff OrthancFramework/Sources/Logging.cpp @ 5032:a3486b8e5d69

merge
author Alain Mazy <am@osimis.io>
date Tue, 21 Jun 2022 17:30:37 +0200
parents eec3e4a91663
children 0ea402b4d901
line wrap: on
line diff
--- a/OrthancFramework/Sources/Logging.cpp	Tue Jun 21 11:03:20 2022 +0200
+++ b/OrthancFramework/Sources/Logging.cpp	Tue Jun 21 17:30:37 2022 +0200
@@ -698,6 +698,8 @@
       boost::mutex::scoped_lock lock(loggingStreamsMutex_);
       loggingStreamsContext_.reset(NULL);
       pluginContext_ = reinterpret_cast<OrthancPluginContext*>(pluginContext);
+
+      EnableInfoLevel(true);  // allow the plugin to log at info level (but the Orthanc Core still decides of the level)
     }