4 Replies Latest reply on Mar 22, 2013 4:30 PM by James Perkins

    JBossAS7.1.1 and log4j configuration (externalize and automatic reload)

    jm collin Newbie



      When I was working with JBoss as 4.x, it was possible to modify a jboss-log4j.xml file in $JBOSS/server/default/conf. This file was automatically reloaded and taken into account at runtime. Very usefull to dynamically change log level to make some production issues analysis.


      My question is : how to do the same with JBossAS 7.1.1 ? The log4j conf is embedded in the standalone.xml, there is a logging:properties which is not used after booting. I read https://docs.jboss.org/author/display/AS71/Logging+Configuration carefully and also search in this forum without success.


      For information, i'm using slf4j in ejb jar and war(s).


      Thanks for your advice.