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

Tibor Digana tibordigana at apache.org
Tue Oct 30 17:33:13 CET 2018


How it is handled by Logback? The Logback allows customization?
What is the easiest way?

Regarding the logging backend impl, there are several implementations
in SLF4J. What features should I see?
On Tue, Oct 30, 2018 at 5:20 PM Matt Sicker <boards at gmail.com> wrote:
>
> 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>
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-user


More information about the slf4j-user mailing list