5 Replies Latest reply on May 29, 2007 1:39 PM by strunker

    log4j configuration in ear file

    strunker

      Hello,

      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:

      application.ear
      | 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,
      Strunker