2 Replies Latest reply on Jun 9, 2005 1:45 PM by netcetera

    JBoss and PropertyConfigurator of log4j

    vivkap01

      Hi
      I am using log4j for logging in my j2ee application. The name of the log4j configuration file we are using is something like "log4j-product.properties"
      when I try to set this using PropertyConfigurator in my program I get errors durng Jboss startup.
      This is what I get
      2004-06-11 16:17:33,968 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
      2004-06-11 16:17:33,968 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
      2004-06-11 16:17:33,968 INFO [STDOUT] log4j:ERROR [WebappClassLoader
      delegate: false
      repositories:
      /WEB-INF/classes/

      It seems this is affecting JBoss'es logging. Is that true? Use of Propertyocnfiigurator may cause sideeffects on JBosse'es logging ?

      --Viv