From: Andreas A. <alt...@mi...> - 2009-04-28 15:55:01
|
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 data is not sufficient. It would be nice to log additionally to the stack backtrace all the passed logs with a higher log level. I know that the log output would be buffered. This would mean that even though a logging event occured there'll be no output immediately. There might even be security concerns because the logging data might get lost, if the server crashes, before the buffer has been flushed. But nevertheless this is probably a good feature for server applications where real time logging is not the top priority. Regards, Andreas |