<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Find Answers For ... - Recent questions tagged change log level</title>
<link>https://find4answers.com/tag/change%20log%20level</link>
<description>Powered by Question2Answer</description>
<item>
<title>can we change the logging level of log4j at runtime?</title>
<link>https://find4answers.com/83/can-we-change-the-logging-level-of-log4j-at-runtime</link>
<description>&lt;div class=&quot;post-text&quot;&gt;
	&lt;p&gt;
		i have an issue, i want to change the logging level of log4j at runtime, i have tried many things with log4j.properties file, i have also tried to written a code which after particular time again reads the properties file and again configure the logger.&lt;/p&gt;
	&lt;p&gt;
		but the problem is, i want to change the logging level to DEBUG for one API call, and then when that call is completed, the logger should again change to the previous value..&lt;/p&gt;
	&lt;p&gt;
		please help..&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/83/can-we-change-the-logging-level-of-log4j-at-runtime</guid>
<pubDate>Wed, 18 Jul 2012 09:50:08 +0000</pubDate>
</item>
</channel>
</rss>