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

    Does JBoss use Log4j

    Pete Haidinyak Newbie

      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.



        • 1. Re: Does JBoss use Log4j
          Jon Barnett Master

          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
            Pete Haidinyak Newbie

            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.