Where do you configure log4j parameters in jboss6

jboss-6.0.0.Final does not have jboss-log4j.xml, which was used to configure log4j parameters in jboss5 (i.e. under the server / default / conf / jboss-log4j.xml)

+4
source share
2 answers

Apparently, the name and location have changed since release 6:

In versions 4.x and 5.x, this is located here: JBoss_HOME \ server \ default \ conf \ JBoss-log4j.xml

Since the release of 6.0.0, M1 has been located in the deployment folder: JBOSS_HOME \ server \ default \ Deploy \ JBoss-logging.xml

Source: http://www.mastertheboss.com/jboss-application-server/251-jboss-log4j-configuration.html

+6
source

If you use axis2.war, then log4j.properties exists in the axis2.war / WEB-INF / classes, so you set log4j.properties in the classpath.

+1
source

All Articles