JBoss uses Log4j wrapped in an MBean as a logging service. This means that an independent logging library does not need to be bundled with the application.
All logging configuration is done in the <JBdir>/server/
configdir
/conf/jboss-log4j.xml
file. For more information on Log4j, see http://logging.apache.org/log4j/docs/manual.html
.
You can adjust class specific logging in the category
elements toward the end of the log4j configuration file. Each category
can have a priority assigned to it. For example:
<category name="org.jboss">
<priority value="DEBUG" />
<appender-ref ref="FILE"/>
</category>