In main I changed the formatting to use the category and not
the NDC. I thought I had removed the use of the NDC as well
but it looks to still be there, but it is redundant. I'll remove it.
----- Original Message -----
From: "Jeffrey Wescott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 2:19 PM
Subject: Re: [JBoss-dev] Adopting log4j over org.jboss.logging.Log
> In my opinion, the log4j service implementation that JBoss is using is
> not "correct". Instead of using Categories for the user data, it is
> "pushing" the user data onto the NDC stack. Unfortunately, this means
> that if you *DO* use the log4j interface for logging in your code, you
> have difficulty formatting your logging messages in a consistent way
> with the JBoss logging messages.
>
> I'm actually using a modified version of Log4jService.java for our
> purposes that uses Categories for the User data instead of the NDC
> stack. Then, in our code, we use Log4j categories pretty readily.
>
> ++Jeff
>
>
> Scott M Stark wrote:
>
> > The main branch has been updated to use the org.apache.log4j framework
> > as the default logging implementation. One question is why not adopt the
> > log4j framework as the JBoss logging interface as well? I don't see any downside
> > to this and there are many benefits. Are there any objections to permitting
> > the use of the log4j framework in JBoss/JBossXX code?
> >
> >
> >
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development