[slf4j-user] How to handle/record log messages in SLF4J logger

Matt Sicker boards at gmail.com
Tue Oct 30 17:16:36 CET 2018


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.

On Tue, 30 Oct 2018 at 11:01, Tibor Digana <tibordigana at apache.org> wrote:

> We have a web application (WAR file) which uses SLF4J logger.
> I want to add a little jar file into it which sticks to SLF4J logger
> and stores the logs to database. I do not want to require developer to
> configure a new appended. It should be some kind of logger audit and
> the user and developer should not know about it.
>
> Has SLF4J any event handler or messages handler interface which binds
> to ThreadLocal via a static method call and registers message handler
> impl?
>
> I am imaging Java Service (META-INF/services) or static method call in
> SLF4J.
> The web application runs on WildFly AS.
>
> Thx
> Tibor
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-user



-- 
Matt Sicker <boards at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20181030/2e6f889c/attachment.html>


More information about the slf4j-user mailing list