Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 87769 invoked from network); 1 Aug 2002 09:20:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Aug 2002 09:20:52 -0000 Received: (qmail 20345 invoked by uid 97); 1 Aug 2002 09:21:16 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@jakarta.apache.org Received: (qmail 20238 invoked by uid 97); 1 Aug 2002 09:21:15 -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 20143 invoked by uid 98); 1 Aug 2002 09:21:15 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <016901c2393c$d1981060$44010059@bm068> From: =?iso-8859-1?Q?Ra=FAl_Carazo?= To: "Log4J" Subject: Re: New filter Date: Thu, 1 Aug 2002 11:21:29 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0166_01C2394D.94FC4160" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0166_01C2394D.94FC4160 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >At 09:36 01.08.2002 +0200, you wrote: >> I'm using log4J 1.2.5 and I'm trying to create a filter for some=20 >> information. But I have a question. >> >> I'm using the LoggingEvent class, and I've seen a field inside=20 >> (logger) that returns a Category object. >> >> I think it's the Category that called the log, isn't it? But I = can't=20 >> take some information that I've set inside the Logger object... > >You are using a derived Logger class? > >> Any idea? >>----------------------------------------------------------------- >>Ra=FAl Carazo ( rcarazo@bilbomatica.es ) > >-- >Ceki Yes, I've created an extension of Logger with a protected field. Then, in the decide method of my filter, I want to see this field for testing its value, but it seem it doesn't work... I think I'm doing somethig wrong...! TIA ------=_NextPart_000_0166_01C2394D.94FC4160--