14 Replies Latest reply on Dec 5, 2012 11:54 AM by sewatech

    Embed Log4J in a war with AS 7.1.0

    sewatech

      Hi,

       

      I have a war deployed in AS 7.0.2, with log4j embedded in it. I have added the following files in the war :

      WEB-INF/lib/log4j.jar
      WEB-INF/classes/log4j.xml
      

       

      In AS 7.0, my log4j.xml configuration is effective, but when I migrate my war to 7.1.0 (a latest build from ci.jboss.org), the log4j.xml is ignored.

       

      What has changed from 7.0 to 7.1, and what should I change in my war ?