logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harp, George" <GH...@GAINSystems.com>
Subject RE: Reading events
Date Mon, 10 Oct 2005 15:02:55 GMT
You could custmize the appender to keep previous n entries if you need
to or create a separate appender to do the storage.
This would not to to difficult. But might not be what you want? 

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of John Banks
Sent: Monday, October 10, 2005 6:10 AM
To: log4j-user@logging.apache.org
Subject: Re: Reading events

Nijjhar, Baljeet <Baljeet.Nijjhar <at> logicacmg.com> writes:

> 
> Hi
> Does anyone know if there are any methods to read back a log record 
> once it has been written to an appender? In general, does anyone have 
> any bright ideas for being able to store logs in a persistent store 
> such that they can be read back as objects (LoggingEvents or 
> whatever), and therefore be able to be manipulated according to 
> certain crieria (e.g. check their timestamps so that you only retrieve

> ones within a certain range)? I'm trying to avoid the overhead of 
> creating a database for logging and reading log records from, but it 
> doens't seem that you can read the records back that you've written
using log4j.
> Thanks, Baljeet Nijjhar
> 

Are we talking about reading events or Reading events here? It's clear
enough when you say it out loud, but if you write it down then I only
have the initial capital to go on.

              john



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

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