2 Replies Latest reply on Nov 6, 2003 11:07 AM by javamann

    Does JBoss use Log4j

      I know this is a really stupid question but is Log4j used in JBoss? I was going through the source code for references to log4j, log, logger, etc. and I could not find a reference. I was just looking for an example on how Log4j was being used. I have used Log4j before but never when it was an MBean.

      TIA

      -Pete

        • 1. Re: Does JBoss use Log4j
          jonlee

          Yes Log4j is used in JBoss. For actual operational configuration look at JBOSS_HOME/server/default/conf/log4j.xml of the binary distribution.

          For a starting point for the service in JBoss, look at server/src/main/org/jboss/logging in the source. You'll actually find many examples in the server branch of the source - hop into server/src/main/org/jboss/web for some usage.

          • 2. Re: Does JBoss use Log4j

            Me stupid! I did a search through the source files using Microsoft's 'Search' utility. When I searched using FileLocatorPro I got a bunch of hits. I need to install FileLocatorPro at home too.

            THanks

            -Pete