[logback-user] Delaying debug logs until an error occurs

Friso Vrolijken friso.vrolijken at gmail.com
Mon Jan 15 09:48:23 CET 2018


Hi all,

>> I’m wondering if there is a way to have logback “save” debug messages and only log them if an error is logged at some point later on in the same transaction.
> That sounds like a feature you should bake into your codebase, instead of pushing it to logback.

As I have had the same thought a couple of times before, I disagree. Why should everyone fix the same problem in their own codebase? Isn’t that what libraries are for?

Groeten,

Friso

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20180115/58a0daf1/attachment.html>


More information about the logback-user mailing list