[jboss-dev] Re: slf4j

Rémy Maucherat remy.maucherat at gmail.com
Fri Jul 6 04:23:32 EDT 2007


On 7/6/07, Steve Ebersole <steve at hibernate.org> wrote:
> On Thursday 05 July 2007 01:25:17 pm Scott M Stark wrote:
> > No, as I was loathe to introduce yet another logging wrapper.
>
> My concern with the org.jboss.logging.Logger stuff is specifically the lack of
> MDC/NDC style capability.
>
> Basically it comes down to the fact that I want to migrate Hibernate away from
> commons-logging for numerous reasons (the classloader leaking stuff being
> primary).  Given that fact, I want the API to which I move to support MDC
> (NDC is generally more useful for what I want to do but could be spoofed with
> MDC).  That means I can move to log4j, slf4j, or logback.  Out of those,
> slf4j seemed the most reasonable in terms of allowing easy integration with
> various environemtns.

As I said a couple messages above, java.util.logging is more robust,
and allows formatters which could use thread local variables (I find
this habit of using hypish names to refer to simple pre-existing
things to be very annoying).

You don't really seem to be interested in our opinion overall, and
seem to be willing to use slf4j anyway, so I'm not sure what's the
point of posting here.

Rémy




More information about the jboss-development mailing list