RusYus opened a new issue, #503:
URL: https://github.com/apache/logging-log4cxx/issues/503

   If I configure log4cxx with `DOMConfigurator::configureAndWatch`, then call 
`LogManager::shutdown()` and then call `DOMConfigurator::configureAndWatch` 
again, there is double deletion of `DOMConfigurator::xdog`
   
   Test code:
   
   ```
   #include <log4cxx/logger.h>
   #include <log4cxx/xml/domconfigurator.h>
   #include <log4cxx/logmanager.h>
   
   static auto logger = log4cxx::Logger::getLogger("MyApp");
   
   int main()
   {
       
log4cxx::xml::DOMConfigurator::configureAndWatch((std::string)"log4cxx.xml");
       LOG4CXX_DEBUG(logger, "test");
   
       log4cxx::LogManager::shutdown();
   
       
log4cxx::xml::DOMConfigurator::configureAndWatch((std::string)"log4cxx.xml");
       LOG4CXX_INFO(logger, "test2");
       return 0;
   }
   ```
   
   Build with MSVC 19.36.32535


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to