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&...]