1 Reply Latest reply: Mar 14, 2012 9:54 AM by Filippe Spolti RSS

Logging all log files on syslog

Filippe Spolti Novice

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


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

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