[jboss-dev] Re: slf4j

Jason T. Greene jason.greene at redhat.com
Mon Jul 9 18:56:52 EDT 2007


On Fri, 2007-07-06 at 12:28 -0500, Jason T. Greene wrote:
> On Fri, 2007-07-06 at 11:58 -0500, Steve Ebersole wrote:
> > Of course!
> > 
> > But why should I care.  I don't want to write logging frameworks.  I can't 
> > think of anything more f'n boring.
> 
> I will find some time to add it to jboss logging, including support for
> log4j and jul:
> http://jira.jboss.com/jira/browse/JBCOMMON-28
> 

I finally got around to this. Full support of NDC and MDC is now in
jboss-common-logging 2.0.5-SNAPSHOT. The API is very close to the log4j
version, but with some small simplifications. This functionality can be
used with both log4j and JUL backends. The JUL backend requires the
JBoss log manager to be loaded:

-Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.jdk.JDK14LoggerPlugin  -Djava.util.logging.manager=org.jboss.logging.jdk.JDKLogManager

-- 
Jason T. Greene
Lead, POJO Cache
JBoss, a division of Red Hat




More information about the jboss-development mailing list