Since the base agent enables internal tracing (see Example 6-1), you can also set the trace level and trace output on the command line. The tracing mechanism is covered in the Java Dynamic Management Kit 4.2 Tools Reference guide and in the Javadoc API of the Trace class. The simplest way to get the default tracing is to specify the filename for a trace log on the java command line:
$ java -classpath classpath -DTRACE_OUTPUT=filename BaseAgent |