0 Replies Latest reply on Aug 18, 2006 10:55 AM by Samuel Mendenhall

    Logging to Syslog not logging everything

    Samuel Mendenhall Apprentice

      I would like to log to syslog, which should be easy, I just uncomment the following section.

      <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
       <param name="Facility" value="local7"/>
       <param name="FacilityPrinting" value="true"/>
       <param name="SyslogHost" value="localhost"/>
       <layout class="org.apache.log4j.PatternLayout">
       <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
       </layout>
      </appender>
      



      And my syslog.conf looks like:

      local7.* /var/log/jboss.log
      



      It works, but JBoss is not logging out hardly any information to the /var/log/jboss.log file, only a few start up and shutdown messages, no INFO or any other messages.

      Is there any other configuration to get JBoss to log to the syslog exactly as it logs to the console?

      Thanks.