0 Replies Latest reply on Sep 23, 2013 9:46 PM by jrmihalick

    log4j, per deployment logging and loading log4j.properties from the filesystem

    jrmihalick

      Hello,

       

      I would like to use per deployment logging in JBoss 7.2 using log4j.  I want to be able to locate my log4j.properties file in a file system location that is accessible via classpath extension to my web app.  For extending my app's classpath I am using the module mechanism as described here.  The JBoss 7.2 documentation seems to suggest that the log4j.properties file for per deployment logging can only be located in WEB-INF/classes for a WAR artifact. Is it possible for JBoss to find my log4j.properties file in the file system instead of WEB-INF/classes?

       

      Thanks,

      Jason