Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 65057 invoked from network); 6 Dec 2005 04:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Dec 2005 04:24:23 -0000 Received: (qmail 84607 invoked by uid 500); 6 Dec 2005 04:24:21 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 84567 invoked by uid 500); 6 Dec 2005 04:24:21 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 84550 invoked by uid 99); 6 Dec 2005 04:24:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 20:24:21 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.207.145] (HELO web32214.mail.mud.yahoo.com) (68.142.207.145) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Dec 2005 20:24:20 -0800 Received: (qmail 4374 invoked by uid 60001); 6 Dec 2005 04:23:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UAm8bpxMwx/p6hv4OdztrxsD0ZKROEe/fC/CxLZ3Q29Jb4AOfUdaFqPJ3s4eqdp9l2FzHdqrv1nMhQeHdHhFBHN7laOl7Z8fb/jxbISzZaSOUevomD/KweZcghdhwl7MP0q3rSHBZ0eqYjrFLIbMRyUAxw+ckJ+P+HPMwuA3BHU= ; Message-ID: <20051206042359.4372.qmail@web32214.mail.mud.yahoo.com> Received: from [65.24.255.41] by web32214.mail.mud.yahoo.com via HTTP; Mon, 05 Dec 2005 20:23:59 PST Date: Mon, 5 Dec 2005 20:23:59 -0800 (PST) From: Ron Grabowski Subject: Re: filtering on message source To: Log4NET User In-Reply-To: <383BF6A1AD220A4796FE90A9EC3FB406010DF5A9@bhmail1.rivagecapital.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It sounds like you need to write a custom filter that looks like this: That would accept all messages from Login and Logout and only those messages from other loggers that are WARN or above. Is that correct? --- "Dalton, Barnaby" wrote: > > I need to combine messages from one class with messages of level WARN > or > above from other classes. I can easily log the WARN and above > messages > but was wondering on the best way to add in ALL messages from the > specific class. Is the best technique to define a second logger and > then > use LoggerMatchFilter in the appender? Can I avoid having to define a > second logger and use some kind of ClassSource filter? > > Thanks > Barney > > >