[logback-user] Modifying a logging events' level

K.O.Gadellaa at rn.rabobank.nl K.O.Gadellaa at rn.rabobank.nl
Fri Sep 7 18:24:58 CEST 2012


I'm in the situation where a 3rd party code logs some content at a certain level, but I want that log to be a different (higher) level.
E.g: in my log: WARN : Connection to XYZ failed.
But I want: ERROR: Connection to XYZ failed.

Is there a way to do this with logback?
(couldn't figure it out... maybe with a separate appender?)


Koos Gadellaa

Rabobank disclaimer: http://www.rabobank.nl/disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120907/d96def9c/attachment.html>

More information about the Logback-user mailing list