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