What about using the XMLLayout format for the log files. This format stores
all the information and is very easy to parse again.

I wrote a simple SAX based parser for Chainsaw that does exactly this.

Oliver

> -----Original Message-----
> From: Rob Walker [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 13 February 2002 23:53
> To: [EMAIL PROTECTED]
> Subject: Serialized event logging
> 
> 
> There's probably an easy answer to this one. 
> 
> The preferred "file" format we'd like to use to log our events in is as serialized 
> LoggingEvent objects (since we're a server, and we'd like to leave 
> layout/formatting/filtering down to the viewer of the log when it's browsed).
> 
> It looks an easy task, but we'd also like similar facilities to the various 
> FileAppenders/RollingFileAppenders etc. in terms of buffered i/o and rollover. 
> Seems a shame to have to re-do all of this code, just to get an "unlayed-out" 
> object.
> 
> Anyone played with this area at all or got any thoughts?
> 
> -- Rob Walker
> SoftSell Business Systems, Ltd.
> ' testing solutions for a changing world '
>  
> +44 (20) 7488 3470
> www.softsell.com
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to