Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.10.0
-
None
-
None
-
Windows XP SP 2/7, Visual Studio 2010.
Description
Dear Team,
Thanks for the wonderful logging framework.
In my application, the Log4cxx Configuration XML file contain few fields in appender with %properties
{Property Name}. The properties are set using log4cxx::MDC::put method in my program. When doing the first time configuration, the DOMConfigurator configures the data properly because of the available thread context.
But if we update the configuration file dynamically without re-starting the application, the thread is not having any MDC data. Hence the property is empty when re-configuring using dynamic usage of the DOMConfigurator.
Kindly help me to resolve this issue.
Thanks in advance.