[slf4j-user] sl4fj/osgi/jcl11
Costin
costin.leau at gmail.com
Tue Apr 3 10:33:16 CEST 2007
Ceki Gülcü-3 wrote:
>
> 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?
>
> At the moment 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?
>
> You're right - I've overlooked this aspect. Would you consider adding a
> trace level then to slf4j :)?
> I recall reading about this in the official log4j documentation and I see
> that in the end, it did make it to the api.
> I understand that this is not log4j but still, it shows that there is
> demand for this logging level plus it makes migration easier since nothing
> has to be lost in the transition.
> Debug versus trace might seem like a small matter but I actually bumped
> into some problems since I have a code base where trace is used for
> low-level details such as loops or discovery and placing them as the same
> level as debug yields enormous amounts of logs.
> Basically, I end up with all or nothing and I need something in between.
>
>
> One more things, is there any ETA on slf4j 1.3.1?
>
> Thanks,
> Costin
>
>>--
>>Costin
>
> --
> Ceki Gülcü
> Logback: The reliable, generic, fast and flexible logging framework for
> Java.
> http://logback.qos.ch
>
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user
>
>
--
View this message in context: http://www.nabble.com/sl4fj-osgi-jcl11-tf3497398.html#a9805623
Sent from the Slf4J - user mailing list archive at Nabble.com.
More information about the slf4j-user
mailing list