[
https://issues.apache.org/jira/browse/LOGCXX-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064838#comment-14064838
]
chand priyankara commented on LOGCXX-439:
-----------------------------------------
hi balajilbk,
can you please provide a testcase to recreate the scenario.
will be more helpful if you can provide some code, with a sample configuration
file.
> 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 SP 2/7, Visual Studio 2010.
> Reporter: balajilbk
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> 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)