[jboss-user] [Beginners Corner] - JBoss log4j.xml issue
vivran
do-not-reply at jboss.com
Wed Feb 13 05:39:36 EST 2008
I am deploying an ear file in JBOSS. That ear file also has a log4j.xml file. And JBOSS installation also has a log4j.xml file in the conf directory. But the appenders defined in the conf/log4j.xml files are interfering with the appenders defined in my log4j.xml . There is a root logger defined in the conf/log4j.xml as below:
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
So these appenders are getting inherited by the loggers in ear's log4j.xml file . And this is creating problem for me. Is there any way I can prevent this.
I hope my problem is clear to you. Its JBOSS version 5.x
additivity="false" does not work in my log4j.xml file as the log writing application is written to use the default which is true
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129066#4129066
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129066
More information about the jboss-user
mailing list