I hope someone has solved this riddle already ... I am trying to make use of a 3rd party library that uses LOG4J in the context of JBoss. Unfortunately, this library subclasses the LoggerFactory.
The result is that after the first call to this 3rd party API, JBoss stops logging completely. I have already tried scoped classloading for this specific app, but to no avail.
Any hints or suggestions are highly appreciated!
Try renaming the server/default/conf/log4j.xml to server/default/conf/jboss-log4j.xml and edit the conf/jboss-service.xml Log4jService to refer to resource:jboss-log4j.xml