[jboss-dev-forums] [JBoss AS 7 Development] - Re: Logging with slf4j in 7.1.0.Final

Dan D do-not-reply at jboss.com
Fri Feb 24 12:32:36 EST 2012


Dan D [https://community.jboss.org/people/norad_2] created the discussion

"Re: Logging with slf4j in 7.1.0.Final"

To view the discussion, visit: https://community.jboss.org/message/719582#719582

--------------------------------------------------------------
I tried some simple cases using a log4j appender as a custom handler. It always resulted in an error because it didn't implement j.u.l.Handler. It would probably be good to post an article on how to use log4j appenders as a custom handler in the logging subsystem since JBoss only has 3 handlers built in (console, file, async).

I was able to use ExtHandler and create a JMSAppender with MDC capabilities as a module. That was good enough for what I need so I can just use the jboss logging framework this way.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/719582#719582]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120224/be46d7e7/attachment.html 


More information about the jboss-dev-forums mailing list