1 Reply Latest reply on Aug 15, 2003 7:23 PM by jonlee

    Log4j viewer, or chainsaw

    gjb9876

      I'm using JBoss-3.2.1 for the micro-kernel and JMX support. I use log4j that comes installed with jboss, this is working great!!!

      But there are so many log messages in the server.log file, that it is difficult to read. I want to parse this file to view logitems from my component. I've searched and it seems there is something called "chainsaw" that is integrated into log4j that has a nice GUI to sort and parse the log4j output.

      Chainsaw is not included in the jboss-3.2.1/lib/log4j-boot.jar file, and I cannot find it anyplace included with jboss.

      How can I nicely parse/view my jboss log4j server.log file????

      (should I replace the log4j-boot.jar with the full log4j.jar downloaded from the jakarta website? it does include chainsaw packages...)

      Thanks, Gretel

        • 1. Re: Log4j viewer, or chainsaw
          jonlee

          The log4j-boot.jar is a special log4j for the bootstrap process. This cannot be changed as you will break the bootstrap process.

          In the server/instance/lib directory is a log4j.jar - it should be 1.2.8 and should contain the chainsaw classes. You should be able to access the chainsaw classes from this library. If it is not the log4j-1.2.8.jar distribution, you should be able to change it for the latest version. However, the JBoss 3.2.x source distributions contain this version so I am pretty certain it is the 1.2.8 version in the binaries.