How to Use Chainsaw

1) Create the file:

import org.apache.log4j.Logger;

public final class ChainsawSample {

  public static void main(final String[] args) {
    final Logger logger = Logger.getLogger(ChainsawSample.class);"Hello World!");


2) Create the file:
log4j.appender.A1.RemoteHost=localhost # use the default port

log4j.logger.ChainsawSample=INFO, A1

3) Compile the file.

4) Launch Chainsaw.

5) Launch the ChainsawSample class.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s