[jboss-user] [Installation, Configuration & Deployment] - log4j configuration in ear file

kstrunk do-not-reply at jboss.com
Sun May 27 12:46:19 EDT 2007


I'm using JBoss 4.2.0 and I want to add a custom log4j.properties to my ejb.jar and web.war. I'd like to do the following:

    | web.war
    | ejb.jar
    | log4j.jar

I put the log4j.properties in my web.war and in my ejb.jar. Both of them uses log4j.jar referenced from MANIFEST. Logging from my WebApp works fine and uses the configuration included in web.war. 
Logging from ejb.jar also works, but it doesn't uses the included log4j.properties. So what I can I do? Is there any chance to enable custom logging in my ejb.jar?

Best regards,

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048920

More information about the jboss-user mailing list