This content has been marked as final.
Show 2 replies
-
1. Re: AS7 and Log4j NDC
hellview Nov 14, 2011 11:07 AM (in response to hopkirk)i'm logging with:
final static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(MyClass.class);
with this dependency:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.2</version>
<scope>provided</scope>
</dependency>
-
2. Re: AS7 and Log4j NDC
hopkirk Nov 15, 2011 11:48 AM (in response to hellview)Thanks for the reply.
Ideally, we'd like to avoid slf4j. I think there are issues with the slf4j NDC implementation as well. Strangely enough, if I keep the log4j Logger but use org.jboss.logging.NDC, the NDC message appears in the logging output.