Have been having a hard time configuring logs. We have an ear file with lot of wars and ejb jars. This ear sits in deploy directory with few other ear's.
the path of ear is ../server/myServerMgmt/deploy/Myear.ear. Now in this ear are few wars which have DWR configured. JBOSS version 6.1.0
We use log4j for logging. Since its common log4j for all these ear's we have it in ../server/myServerMgmt/conf/log4j.xml which is in the classpath. We get all the logs as needed. No problem there. But we do not seem to get DWR logs using this log4j configuration. However if we configure jboss-logging.xml to provide these DWR logs; they seem to work fine. From jboss-loggin.xml though i do not seem to get my application logs.
If you see the configuration now; it is split across log4j.xml(my application logs) and jboss-logging.xml(DWR logs). Since one doesnt seem to configured from the othere. My requirement is to have them configured at one place. Does anyone seem to know what is wrong here.?