[jboss-dev] slf4j

Steve Ebersole steve at hibernate.org
Thu Jul 5 09:23:30 EDT 2007


On Thursday 05 July 2007 08:17:53 am Rémy Maucherat wrote:
> On 7/5/07, Steve Ebersole <steve at hibernate.org> wrote:
> > I am considering moving Hibernate to use slf4j instead of
> > commons-logging.  I had been considering moving to straight log4j usage
> > anyway to get MDC/NDC capability, but slf4j just added this capability. 
> > So it now has all the capabilities I need.
> >
> > Just curious whether anyone has seen it used within JBoss AS and what the
> > experiences were.
>
> It is natural IMO that this facade exposes features from log4j since
> the author is the same. Personally, I try to avoid log4j at all costs,
> since it is by design less robust than java.util.logging
> (java.util.logging is using a singleton design, and lives in the JVM
> classloader, so there cannot be any class conflicts).
>
> Rémy
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development

Thanks, Remy.

Yes, and it lacks any kind of diagnostic context support.  Sure, I know I 
could build it on top of whatever log framework I end up using; but then I am 
writing a logging framework myself...

Yes, I know Ceki writes slf4j.  I had a dialog with him about adding this MDC 
support.

Have you seen cases of slf4j usage in Tomcat?




More information about the jboss-development mailing list