1 Reply Latest reply on Mar 14, 2012 9:54 AM by spolti

    Logging all log files on syslog

    spolti

      Hello everyone.

       

       

      I need send all my log files to a syslog server.

       

      With my default configurations i can send only the server.log.

       

      I need send the access_log and boot log too.

       

      Any Idea?

       

       

      My log4j.xml:

       

         <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="10.32.15.62"/>

       

           <layout class="org.apache.log4j.PatternLayout">

             <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>

           </layout>

         </appender>

       

      regardss!!