[logback-user] Backlog, SLF4J and jars using other logging frameworks

Ali Salehi salehiam at gmail.com
Sun Nov 7 10:36:22 CET 2010


Thanks, I added jul-to-slf4j-1.6.1.jar to the classpath. Unfortunately I am
still getting logs produced by java.util.log as shown in the code.


-A




On Sun, Nov 7, 2010 at 8:23 PM, "Dieter Müller" <d.m at streber24.de> wrote:

> Hi,
>
> -------- Original-Nachricht --------
> > Datum: Sun, 7 Nov 2010 17:41:40 +1100
> > Von: Ali Salehi <salehiam at gmail.com>
> > An: logback-user at qos.ch
> > Betreff: [logback-user] Backlog,      SLF4J and jars using other logging
> frameworks
>
> > Hi all,
> > I have a dependency to a jar file which is using java.util.logging. My
> > code
> > uses Logback/slf4j framework. As I understood, slf4j will proxy other
> > logging frameworks.
> >
> > SLF4J/Backlog.
> Logback ;-))
> >
> > I have slf4j-api-1.6.1.jar, logback-classic-0.9.24.jar and
> > logback-core-0.9.24.jar files in my classpath.
> >
> > I appreciate your comments,
> >
> I think, you shoud add the bridging jar jul-to-slf4j.jar to the classpath
> too, because this will forward the java logger output to slf4j (interface)
> and in the end to logback as implementation.
>
> Dieter Mueller.
>
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20101107/e67e33d9/attachment-0001.html>


More information about the Logback-user mailing list