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

Matt Sicker boards at gmail.com
Tue Oct 30 17:56:14 CET 2018


By bundling the logging config file in your jar, you'd already be set. The
issue is more so when the end user wants to customize that configuration.
That could use something like composite configurations.

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

> 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
> _______________________________________________
> 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/e5d2c5d3/attachment.html>


More information about the slf4j-user mailing list