0 Replies Latest reply on Aug 28, 2007 12:17 PM by Poyan Gerami

    TCLFilter Implementation

    Poyan Gerami Novice

      Hi
      Does anybody test the TCLFilter i dont get how it works, i have configurate it like this:

       <appender name="AuctionResult" class="org.jboss.logging.appender.DailyRollingFileAppender">
       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
       <param name="File" value="${jboss.server.log.dir}/AuctionResult.log"/>
       <param name="Append" value="true"/>
       <!-- Rollover at midnight each day -->
       <param name="DatePattern" value="'.'yyy-MM-dd"/>
       <layout class="org.apache.log4j.PatternLayout">
       <!-- The default pattern: Date Priority [Category] Message\n -->
       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
       </layout>
       <filter class="org.jboss.logging.filter.TCLFilter">
       <param name="AcceptOnMatch" value="true"/>
       <param name="DeployURL" value="AuctionResultTradera.esb"/>
       </filter>
       <filter class="org.jboss.logging.filter.TCLFilter">
       <param name="AcceptOnMatch" value="true"/>
       <param name="DeployURL" value="AuctionResultPetra.esb"/>
       </filter>
       </appender>
      


      But i dont understand many off logging statments that come from classes inside AuctionResultTradera.esb dont appear in the AuctionResult.log log file.
      Can anyone give me an explanation how TCLFilter works.