[slf4j-user] amending messages sent to slf4j

Vitaliy Semochkin vitaliy.se at gmail.com
Sat Oct 18 16:30:08 CEST 2014


Hi

In my project I want to amend messages that were sent to slf4j by other
libraries.

Is it possible to implement some interface or register some class, so that
I can check and amend  a message before it goes to log?

E.g. when hibernate sends something to log calling slf4j I want to amend
the message by replacing some values, adding indent etc.

What are the ways to do it?

Regards
Vitaliy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20141018/053c8e4e/attachment.html>


More information about the slf4j-user mailing list