<!-- Buffer events and log them asynchronously -->
| <appender name="ASYNC"
class="org.apache.log4j.AsyncAppender">
| <errorHandler
class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <appender-ref ref="FILE"/>
| <!--
| <appender-ref ref="CONSOLE"/>
| <appender-ref ref="SMTP"/>
| -->
| </appender>
|
| ...
|
| <root>
| <!-- <appender-ref ref="CONSOLE"/> -->
| <appender-ref ref="ASYNC"/>
| </root>
This configuration shows that the default jboss-log4j.xml that was shipped has been
changed (i guess intentionally).
* One of the change is to disable the CONSOLE appender for the root logger. That's the
reason why you don't see anything logged on the console after the initial few logs
* The other change has configured the root logger to use the asynchronous appender to log
to the server.log file.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196867#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...