<div dir="ltr">This type of feature is handled by Logback, Log4j, or another logging backend. I don't believe this is in scope for the logging API itself.<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 30 Oct 2018 at 11:01, Tibor Digana <<a href="mailto:tibordigana@apache.org">tibordigana@apache.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We have a web application (WAR file) which uses SLF4J logger.<br>
I want to add a little jar file into it which sticks to SLF4J logger<br>
and stores the logs to database. I do not want to require developer to<br>
configure a new appended. It should be some kind of logger audit and<br>
the user and developer should not know about it.<br>
<br>
Has SLF4J any event handler or messages handler interface which binds<br>
to ThreadLocal via a static method call and registers message handler<br>
impl?<br>
<br>
I am imaging Java Service (META-INF/services) or static method call in SLF4J.<br>
The web application runs on WildFly AS.<br>
<br>
Thx<br>
Tibor<br>
_______________________________________________<br>
slf4j-user mailing list<br>
<a href="mailto:slf4j-user@qos.ch" target="_blank">slf4j-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/slf4j-user" rel="noreferrer" target="_blank">http://mailman.qos.ch/mailman/listinfo/slf4j-user</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Matt Sicker <<a href="mailto:boards@gmail.com" target="_blank">boards@gmail.com</a>></div>