Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@www.apache.org Received: (qmail 60680 invoked from network); 7 Oct 2003 20:43:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Oct 2003 20:43:56 -0000 Received: (qmail 68600 invoked by uid 500); 7 Oct 2003 20:43:39 -0000 Delivered-To: apmail-jakarta-log4j-user-archive@jakarta.apache.org Received: (qmail 68583 invoked by uid 500); 7 Oct 2003 20:43:39 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 68559 invoked from network); 7 Oct 2003 20:43:39 -0000 Received: from unknown (HELO hotmail.com) (64.4.14.199) by daedalus.apache.org with SMTP; 7 Oct 2003 20:43:39 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 7 Oct 2003 13:43:45 -0700 Received: from 65.246.154.146 by law10-oe64.law10.hotmail.com with DAV; Tue, 07 Oct 2003 20:43:44 +0000 X-Originating-IP: [65.246.154.146] X-Originating-Email: [schennamaraja@hotmail.com] From: "Srinivas Chennamaraja" To: "Log4J Users List" Subject: Problems using Filters in log4j.xml file Date: Tue, 7 Oct 2003 16:43:44 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00E7_01C38CF2.2C1E3FA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 07 Oct 2003 20:43:45.0081 (UTC) FILETIME=[B36F3290:01C38D13] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_00E7_01C38CF2.2C1E3FA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am trying to use Filter to filter out messages. I have defined 3 = appenders called APPLICATION, AUDIT, and ESNM. I have created a custom Level = class EISLevel in which I added two new Levels called "AUDIT" and "ESNM". the order is ESNM>AUDIT>FATAL. I want all the messages between DEBUG and FATAL should go to = APPLICATION, and only AUDIT messages should go to AUDIT and only ESNM messages should = go to ESNM appender. but my audit logfiles contains DEBUG through AUDIT = where as my esnm log files contains all the messages. Here is my log4j.xml = file.. Am I missing something?.. I would appreciate any feed back on this.... thanks, Srinivas Chennamaraja ------=_NextPart_000_00E7_01C38CF2.2C1E3FA0--