Logging with JBossAS
Refer to http://docs.jboss.org/process-guide/en/html/logging.html as well.
The log4j configuration is loaded from the jboss server conf/log4j.xml file. (This file has been renamed to conf/jboss-log4j.xml in 4.2.) You can edit this to add/change the default appenders and logging thresholds.
The following wiki entries will show how to alter your logging configuration file to accomplish different tasks.
If you need to separate application logs
If you need to log to a separate server
If you need help with usage of logging levels
If you need information on key JBoss subsystem categories
If you need to redirect category output
If you need scoped logging configuration
If you need to use the JDK java.util.logging backed plugin in JBossAS (4.x and 5.x only)
If you need to trace System.out and System.err println calls
- If you would like to Standalone JBoss LogManager
Note that during the boot process, logging is configured from $JBOSS_HOME/bin/run.jar. See JBossBootLogging for details