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

John Mazzitelli do-not-reply at jboss.com
Tue Nov 20 11:21:27 EST 2012


John Mazzitelli [https://community.jboss.org/people/mazz] created the discussion

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

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

--------------------------------------------------------------
Thanks folks. So, I got it to work by adding the org.jboss.logmanager with services=import in modules.xml and I put a logging.properties file in the root directory of my module's main jar file. I did do both of those before, but not at the same time which is why it wasn't working for me :-) So, making sure I do both of those fixed the problem. Note that having a log4j.xml doesn't matter - I don't have a log4j.xml and things still worked.
--------------------------------------------------------------

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

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/07490c64/attachment.html 


More information about the jboss-dev-forums mailing list