[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot fully start jboss server 4.2.0. on centos 5.2

jaikiran do-not-reply at jboss.com
Tue Dec 16 08:03:11 EST 2008


 <!-- 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#4196867

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196867



More information about the jboss-user mailing list