logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Filters
Date Thu, 09 Nov 2006 15:18:41 GMT
Code in log4j should only use LogLog for logging, which is only sent
to standard out.  I don't have any good ideas unless you change the
message of the LogEvent that gets through.

On 11/8/06, vincentw <vincentwong123@yahoo.com> wrote:
>
> Hi,
>
> I'm trying to filter the log message and I can do it.  But I what I would
> like to do is, keep track of how many times the message was filtered, and
> when a new message comes in, log how many times the previous message was
> filtered and then the new message.
>
> I tried using the a logger inside that class but I think I remember reading
> something about can't log inside of log4j.
>
> So how can I go about this?
>
> Thanks
>
> vincent
> --
> View this message in context: http://www.nabble.com/Filters-tf2598830.html#a7249900
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message