[slf4j-user] sl4fj/osgi/jcl11

Ceki Gülcü listid at qos.ch
Mon Apr 2 23:05:16 CEST 2007


Hi Costin,

At 06:08 PM 3/31/2007, Costin Leau wrote:
>Hello everybody,
>
>We're using slf4j inside Spring/OSGi for logging and so far it saved us
>from quite a lot of trouble (imagine commons-logging and classloading
>discovery in OSGi) not to mention that having the official distribution
>OSGified is quite a time saver.

:-)

>At the moment we are left with one major issue and that is having a
>jcl11-over-sfl4j bridge. AFAIK, the only difference from jcl104 is that
>trace() calls are using trace level rather then debug.
>I have several code bases where trace is used extensively for low level
>debugging and the jcl-104 behavior causes a lot of unnecessary output
>and thus prevents to some extent using slf4j.
>
>At least for me, it would be great if the jcl-11 behavior would be
>supported.

I suppose you are using log4j as the underlying logging
system. Yes?

Anyway, since SLF4J does not have a trace method in its API, it would
be quite impossible to make it work in jcl104-over-slf4j.

Does it make sense?


>--
>Costin

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch




More information about the slf4j-user mailing list