JBoss Community

Re: writing own standalone module that needs legacy log4j support

created by John Mazzitelli in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community