0 Replies Latest reply on Aug 30, 2004 9:33 AM by jmer

    log filtering?

    jmer Newbie

      Hi list;
      I want my application to log on syslog i add the following code below on log4j.xml and get syslod logs .From the log it also logs jboss logs. I only want my application log to be past to syslog how do i do it? is there additional filtering??

      <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
      <param name="Facility" value="local7"/>
      <param name="SyslogHost" value=""/>
      <param name="Threshold" value="info"/>
      <param name="FacilityPrinting" value="false"/>
      <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="[%-1p] %c %m%n"/>

       <appender-ref ref="SYSLOG"/>

      <category name="ph.net.mdi">
       <priority value="DEBUG"/>
       <appender-ref ref="SYSLOG"/>