I am either going crazy or jBoss' handling of log4j.xml is not following
standards. Please help.
I have a webapp that I just ported to jBoss. Since jBoss wants to handle log4j
configuration I removed the application log4j.properties and the initialization
servlet. At this point the application logs fine, according to jBoss' level
(INFO).
Since I want to change the logging level for packages in the app, I went to
log4j.xml and added a logger block (right before ) according to log4j's XML
standards:
<appender-ref ref="CONSOLE" />
This was promptly ignored. So I went to the next level and created a new
appender and category:
<appender-ref ref="convergent"/>
This was also promptly ignored, until I added a reference to the block, at
which point ALL of jBoss' messages went to DEBUG level:
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="convergent"/>
So, what gives? Am I missing something or is jBoss not behaving?
Thanks in advance,
B.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855021#3855021
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855021
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user