anonymous wrote : String log4jFile = "/WEB-INF/classes/log4j.xml";

Change this to:

String log4jFile = "WEB-INF/classes/log4j.xml";

Note that there is no '/' before the WEB-INF. Try it out and see if it works.
Alternately, you can try:

InputStream inputStream = 
this.getClass().getClassLoader().getResourceAsStream("WEB-INF/classes/log4j.xml");

anonymous wrote : Do I need to change other settings to use my own log4j.xml? 

See if this helps:

http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jRepositorySelector







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959781#3959781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959781
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to