[jboss-dev-forums] [JBoss AS 7 Development] - Re: writing own standalone module that needs legacy log4j support

David Lloyd do-not-reply at jboss.com
Tue Nov 20 09:27:59 EST 2012


David Lloyd [https://community.jboss.org/people/dmlloyd] created the discussion

"Re: writing own standalone module that needs legacy log4j support"

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

--------------------------------------------------------------
You'll need to do a Couple Things to make it work.  Our log4j is modified for the purpose of forwarding through the LogManager.  So step one is, you'll have to make sure your module has a dependency on "org.jboss.logmanager" with 'services="import"' set.

Next, I believe you'll have to configure a LogManager-style logging.properties in your module as our log4j won't be configuring itself.  Once you do these things you *should* get some output.
--------------------------------------------------------------

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

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/20121120/a830ed99/attachment.html 


More information about the jboss-dev-forums mailing list