<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 99: a problem on reloading configure file</title><link>https://sourceforge.net/p/log4cpp/bugs/99/</link><description>Recent changes to 99: a problem on reloading configure file</description><atom:link href="https://sourceforge.net/p/log4cpp/bugs/99/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 12 Jan 2006 02:29:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/log4cpp/bugs/99/feed.rss" rel="self" type="application/rss+xml"/><item><title>a problem on reloading configure file</title><link>https://sourceforge.net/p/log4cpp/bugs/99/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have two configure files.&lt;/p&gt;
&lt;p&gt;file1: mycim.props&lt;br /&gt;
....&lt;br /&gt;
log4cpp.category.runLog=DEBUG,runFileAppender,runConso&lt;br /&gt;
leAppender&lt;br /&gt;
....&lt;br /&gt;
log4cpp.appender.runFileAppender.threshold=DEBUG&lt;br /&gt;
....&lt;br /&gt;
log4cpp.category.runLog.CommandLgr&lt;br /&gt;
log4cpp.category.runLog.CommandLgr.IncludeLgr=WARN&lt;/p&gt;
&lt;p&gt;file 2: mycim.props1&lt;br /&gt;
....&lt;br /&gt;
log4cpp.category.runLog=DEBUG,runFileAppender,runConso&lt;br /&gt;
leAppender&lt;br /&gt;
....&lt;br /&gt;
log4cpp.appender.runFileAppender.threshold=DEBUG&lt;br /&gt;
....&lt;br /&gt;
log4cpp.category.runLog.CommandLgr&lt;br /&gt;
log4cpp.category.runLog.CommandLgr.IncludeLgr.&lt;/p&gt;
&lt;p&gt;file 1 is my current configure file, &lt;br /&gt;
so  "log4cpp.category.runLog.CommandLgr.IncludeLgr" &lt;br /&gt;
is at the log level WARN and above.&lt;/p&gt;
&lt;p&gt;Then I change my configure file to file2 dynamically.&lt;br /&gt;
it is expected &lt;br /&gt;
that "log4cpp.category.runLog.CommandLgr.IncludeLgr" &lt;br /&gt;
is at the level same as runlog.&lt;/p&gt;
&lt;p&gt;But it acts that IncludeLgr is at the log level WARN &lt;br /&gt;
and above actually. Stay unchanged. &lt;/p&gt;
&lt;p&gt;Reason is that library log4cpp will skip the lines &lt;br /&gt;
without '=' in the configure file. &lt;br /&gt;
so the log level IncludeLgr will not change from WARN &lt;br /&gt;
to NOTSET as expected.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wu Huajie</dc:creator><pubDate>Thu, 12 Jan 2006 02:29:47 -0000</pubDate><guid>https://sourceforge.nete0815588d7bedd88ba1f4b4f0fa561712341d538</guid></item></channel></rss>