2 Replies Latest reply on Oct 18, 2011 6:55 AM by alimakki

    Using per application log4j.properties in Jboss AS 6 final

    alimakki Newbie

      I have been trying to get Jboss to use my project's own log4j.properties for logging, however no matter what I do it seems that jboss doesn't care about them.

       

      My application is a WebApp embedded inside an EAR. I have tried everything from placing the log4j.jar inside the EAR's lib directory, and the log4j.properties file under the root of the EAR, made sure that I was using scoped classloading but no dice.

       

      Is there a definitive guide out there that allows me to use log4j in Jboss AS 6 like I would normally be able to do so in tomcat for example?

       

      Thanks.