logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Carazo <rcar...@bilbomatica.es>
Subject Re: New filter
Date Thu, 01 Aug 2002 09:21:29 GMT
>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 
>> information. But I have a question.
>>     I'm using the LoggingEvent class, and I've seen a field inside 
>> (logger) that returns a Category object.
>>     I think it's the Category that called the log, isn't it? But I can't 
>> take some information that I've set inside the Logger object...
>You are using a derived Logger class?
>>     Any idea?
>>Raúl Carazo ( rcarazo@bilbomatica.es )

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...!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message