1 Reply Latest reply on Jun 16, 2004 8:07 AM by Janne Mattila

    Application-specific log4j.xml settings

    Janne Mattila Newbie

      I want to control the logging of my application by including a suitable log4j.xml in war's WEB-INF/classes/. Initial attempt of just including the xml file in the war failed, as JBoss' own configuration file in conf/ did override my settings. Using instructions on

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

      I was able to get the correct results. My question is, what exactly do settings

      <class-loading java2ClassLoadingCompliance="false">
      <loader-repository>
      log4j.test:loader=log4j.war
      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
      </loader-repository>
      </class-loading>

      do, and do they have any unwanted side-effects?