You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "balajilbk (JIRA)" <lo...@logging.apache.org> on 2014/07/17 12:13:04 UTC

[jira] [Created] (LOGCXX-439) Dynamic Configuration of Log4cxx XML with Properties is not proper

balajilbk created LOGCXX-439:
--------------------------------

             Summary: Dynamic Configuration of Log4cxx XML with Properties is not proper
                 Key: LOGCXX-439
                 URL: https://issues.apache.org/jira/browse/LOGCXX-439
             Project: Log4cxx
          Issue Type: Bug
          Components: Configurator
    Affects Versions: 0.10.0
         Environment: Windows XP/7, Visual C++
            Reporter: balajilbk
             Fix For: 0.11.0


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)