logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bicking <David.Bick...@thehartford.com>
Subject Re: batching log entries until exception
Date Tue, 27 Nov 2007 15:19:35 GMT

David Bicking wrote:
> Hello,
> I searched the list for this information, but I think my use case is a bit
> obscure.  I am researching Log4Net as a possible plug-in logger for our
> software.  We would like to have or create an unusual feature.  
> We would like to collect log entries in memory during a discrete scope. 
> In our case, this would be an ASP.NET request.  We want to hold onto these
> logs in memory until either the request completes or an exception occurs. 
> We want to output all the batched logs if an exception occurs, and discard
> the ones that don't pass the normal filters if there were no errors.  
> Has anyone done something like this with Log4Net?  Do you have suggestions
> on how I might implement this using Log4Net?
> --
> David Bicking

I just discovered the BufferingForwardAppender in the SDK, and I think this
might be part of what I need.  I'm exploring this now, but I still want your
input to my original message.  

David Bicking
View this message in context: http://www.nabble.com/batching-log-entries-until-exception-tf4882083.html#a13972831
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message