<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 99: a problem on reloading configure file</title><link href="https://sourceforge.net/p/log4cpp/bugs/99/" rel="alternate"/><link href="https://sourceforge.net/p/log4cpp/bugs/99/feed.atom" rel="self"/><id>https://sourceforge.net/p/log4cpp/bugs/99/</id><updated>2006-01-12T02:29:47Z</updated><subtitle>Recent changes to 99: a problem on reloading configure file</subtitle><entry><title>a problem on reloading configure file</title><link href="https://sourceforge.net/p/log4cpp/bugs/99/" rel="alternate"/><published>2006-01-12T02:29:47Z</published><updated>2006-01-12T02:29:47Z</updated><author><name>Wu Huajie</name><uri>https://sourceforge.net/u/wuhuajie/</uri></author><id>https://sourceforge.nete0815588d7bedd88ba1f4b4f0fa561712341d538</id><summary type="html">&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;</summary></entry></feed>