Re: [log4perl-devel] Log passed logs with increased log level on error.

2009-04-29 Thread Andreas Altergott
Hi, Am Dienstag, den 28.04.2009, 19:43 -0700 schrieb Mike Schilli: > Hope that helps! Thank you! That's a gorgeous idea to use two separate log files. If no error occured I can simply remove the file, if there was an error, then I have all the necessary information. Thanks, Andreas signatur

Re: [log4perl-devel] Log passed logs with increased log level on error.

2009-04-28 Thread Mike Schilli
On Tue, 28 Apr 2009, Andreas Altergott wrote: > is there a possibility to increase the log level when an error occurs > and print passed logs with the increased log level? The Buffer appender implements this: http://search.cpan.org/~mschilli/Log-Log4perl/lib/Log/Log4perl/Appender/Buffer.pm Also

[log4perl-devel] Log passed logs with increased log level on error.

2009-04-28 Thread Andreas Altergott
Hi, is there a possibility to increase the log level when an error occurs and print passed logs with the increased log level? This would be very handy if you have a server application running, with a very low log level, to produce as less logging data as necessary. But once an error occurs this