1 Reply Latest reply on Jun 1, 2004 10:23 AM by rogerday

    configuring log4j and Jboss client

    rogerday

      Hi,

      I had a junit test happily using a log4j.properties file to configure logging. However, once I introduced the JBoss client libraries into the classpath, this stopped working, in that my logfile stopped being produced. I've seen many comments on this sort of problem but no solution. Does anyone know where the log4j.properties should live when using the log4j libs that come with the jboss client?

      TIA

      Roger

        • 1. Re: configuring log4j and Jboss client
          rogerday

          I found a solution by putting the general classpath *before* the path elements that include the jboss client jars. Is this the reccommended method?

          Roger

          "rogerday" wrote:
          Hi,

          I had a junit test happily using a log4j.properties file to configure logging. However, once I introduced the JBoss client libraries into the classpath, this stopped working, in that my logfile stopped being produced. I've seen many comments on this sort of problem but no solution. Does anyone know where the log4j.properties should live when using the log4j libs that come with the jboss client?

          TIA

          Roger