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:
This was also promptly ignored, until I added a reference to the block, at which point ALL of jBoss' messages went to DEBUG level:
So, what gives? Am I missing something or is jBoss not behaving?
Thanks in advance,
The forum software just clobbered my posting... I'll repost.