5.2. Configuring Logging

To change the logging behavior, edit the log4j configuration file for the relevant server profile: jboss-as-web/server/PROFILE/conf/jboss-log4j.xml.
Add the following XML to the default server profile's log4j configuration to create a new category that directs the STDOUT messages to the server log file:
<category name="STDOUT" additivity="false"> 
   <priority value="INFO" /> 
   <appender-ref ref="FILE"/> 
</category>