<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hello, I never did that, but SLF4J is only a facade for other logging frameworks. So, I think you can implement your own binding which would intercept the messages, perform whatever changes you want and then forward the result to the underlying "real" logging system / binding.</div>

<div> </div>

<div>BR</div>

<div>Ewgenij</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Samstag, 18. Oktober 2014 um 16:30 Uhr<br/>
<b>Von:</b> "Vitaliy Semochkin" <vitaliy.se@gmail.com><br/>
<b>An:</b> slf4j-user@qos.ch<br/>
<b>Betreff:</b> [slf4j-user] amending messages sent to slf4j</div>

<div name="quoted-content">
<div>
<div>
<div>
<div>
<div>
<div>Hi<br/>
 </div>
In my project I want to amend messages that were sent to slf4j by other libraries.<br/>
<br/>
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?<br/>
 </div>
E.g. when hibernate sends something to log calling slf4j I want to amend the message by replacing some values, adding indent etc.<br/>
 </div>
What are the ways to do it?<br/>
 </div>

<div>Regards</div>

<div>Vitaliy</div>
</div>
</div>
_______________________________________________ slf4j-user mailing list slf4j-user@qos.ch <a href="http://mailman.qos.ch/mailman/listinfo/slf4j-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/slf4j-user</a></div>
</div>
</div>
</div></div></body></html>