[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss server.log to syslog redirection

PeterJ do-not-reply at jboss.com
Thu Oct 23 10:40:30 EDT 2008


You also need to indicate what log statements you want to go to the appender. In jboss-log4j.xml, all logging goes to both the CONSOLE and FILE appenders based on this statement:

   <root>
  |       <appender-ref ref="CONSOLE"/>
  |       <appender-ref ref="FILE"/>
  |    </root>

To log everything to syslog, add another line here.

By the way, you will get a lot of logging, including debug and trace log entries. Are you sure you don't want to limit the syslog to WARN or ERROR?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184239#4184239

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



More information about the jboss-user mailing list