This content has been marked as final. Show 1 reply
I want to configure my Web-app specific logging in JBoss's jboss-log4j.xml, but seems non-effective.
What does web-app specific logging mean? Can you post more details? And which exact version of JBoss do you use?
My question is, is it only possible to configure the Web-app specific logging in each Web-app's own directory's log4j.xml (or log4j.properties) file?
It's possible. See this http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4125416#4125416. The example there is for an EAR, but works similarly for WAR.
Also, look at this for classloader configuration in WAR http://www.jboss.org/community/wiki/classloadingconfiguration
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.