<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - log4j.properties vs. log4j.xml</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Thu, 23 May 2013 21:53:03 -0400</pubDate>


    <item>

        <title>Set additivity=&quot;false&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=34281</link>

        

        
            <description><![CDATA[For each level that you wish to "override" a parent (in this case the root level).  You need to set the attribute additivity="false" to the logger element.  This will give you the desired results.]]></description>
        

        <pubDate>Mon, 05 Mar 2007 22:04:37 -0500</pubDate>

        

        <jf:creationDate>Mon, 05 Mar 2007 22:04:37 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 05 Mar 2007 22:04:37 -0500</jf:modificationDate>
        <jf:date>Mar 5, 2007</jf:date>
        <jf:author>Michael Rimov</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Problem with Log4j.xml</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=34281</link>

        

        
            <description><![CDATA[Same here. The root logger seems to over-ride the application log level:<br><br>	&lt;logger name=&quot;com.xyz.abc.logger.MyLogger&quot;&gt;<br>		&lt;level...]]></description>
        

        <pubDate>Thu, 07 Jul 2005 09:34:19 -0400</pubDate>

        

        <jf:creationDate>Thu, 07 Jul 2005 09:34:19 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 07 Jul 2005 09:34:19 -0400</jf:modificationDate>
        <jf:date>Jul 7, 2005</jf:date>
        <jf:author>JustAUser @ServerSide</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>log4j.properties vs. log4j.xml</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=34281</link>

        

        
            <description><![CDATA[sorry, i made a mistake when posting. the level of org.apache.struts is of course &quot;warn&quot; in both files.<br><br>still i get infos from struts in the xml version.]]></description>
        

        <pubDate>Thu, 02 Jun 2005 15:52:53 -0400</pubDate>

        

        <jf:creationDate>Thu, 02 Jun 2005 15:52:53 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 02 Jun 2005 15:52:53 -0400</jf:modificationDate>
        <jf:date>Jun 2, 2005</jf:date>
        <jf:author>sulay ed</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>log4j.properties vs. log4j.xml</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=34281</link>

        

        
            <description><![CDATA[Well, it seems that you assigned the INFO level to your org.apache.struts logger in your XML configuration file, instead of the WARN level that was assigned to it in your properties file. I think it can explain why you have INFO logs now.]]></description>
        

        <pubDate>Thu, 02 Jun 2005 04:26:19 -0400</pubDate>

        

        <jf:creationDate>Thu, 02 Jun 2005 04:26:19 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 02 Jun 2005 04:26:19 -0400</jf:modificationDate>
        <jf:date>Jun 2, 2005</jf:date>
        <jf:author>Bruno Kerrien</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>log4j.properties vs. log4j.xml</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=34281</link>

        

        
            <description><![CDATA[i have a log4j.properties file that logs my struts application.<br><br>my root level is info, and i set the level for org.apache.struts to warn (this supresses all info logs from struts).<br><br>log4j.properties:<br>log4j.rootLogger=info,...]]></description>
        

        <pubDate>Wed, 01 Jun 2005 17:10:51 -0400</pubDate>

        

        <jf:creationDate>Wed, 01 Jun 2005 17:10:51 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 01 Jun 2005 17:10:51 -0400</jf:modificationDate>
        <jf:date>Jun 1, 2005</jf:date>
        <jf:author>sulay ed</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>



</channel>
</rss>

