Hi,
I have a question about logging with log4j. I've used it over a prolonged 
period now and it helped me a lot tracking down bugs. My problem is that when 
components become a little more mature, I usually upgrade their log-level to 
WARN so that there's not a huge flow of logging messages of INFO and DEBUG 
statements. Sometimes however, an error still occurs, and those errors are 
often hard to reproduce. At such times the INFO and DEBUG messages that were 
logged right before the error would really come in handy to analyze the 
error. 
So my ideal scenario would be that INFOs and DEBUGs are kept in some temporary 
buffer of length say 100 messages and that they're all output once an error 
occurs and otherwise they keep getting overwritten by newer log events. Is 
this possible in log4j?
Best regards,
M. Vogelzang

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

Reply via email to