[logback-user] All error in a separate file

DECHOUX Bertrand bertrand.dechoux-prestataire at bforbank.com
Fri Aug 19 10:50:16 CEST 2011


Hi,

I am new to logback configuration. I have read the online manual but clearly not in depth.

I would like to log in a separate file all ERROR logs but keep these logs at the same time where they are supposed to be.

I understand I could use root with an ERROR level and a file appender but then I woul lose all the details (logs lower than ERROR).

Is there any obvious way that I might have missed?

Regards,

Bertrand Dechoux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110819/82215bf8/attachment.html>


More information about the Logback-user mailing list