Add the following option string to the command
line that launches your program: -XrunpiAgent:server=standalone,mode=none,
extensionLibrary=IBMRAC/PROBEAGENT,
ext-pk-BCILibraryName=IBMRAC/BCIENGPROB,
ext-pk-probescript=<myProbe>.probescript
where <myProbe> is the name
of the .probescript file for your probe. Note: The
option string above is displayed on multiple lines for readability. When you
include the option string on your command line, it must be all on one line,
with no embedded spaces.
To have the Probekit agent write log
messages, add the following options to the command line:
Option |
Description |
ext-pk-logFile=<file> |
Specifies the name of the file you want the Probekit
agent to write log messages to. <file> can be a full path
and file name. If you specify stderr instead of a file name, the
log output will be written to the standard error channel. If this option is
not specified, no log output is written. |
ext-pk-logLevel=<level> |
Specifies the logging level you want to use. See the
table below for the logging levels and their descriptions. |
You can specify the following logging levels:
Level |
Description |
none |
Produces no log output. |
severe |
Logs only severe errors, such as unable to load libraries. |
warning |
Logs warning messages. This level is the default. |
info |
Logs status messages, such as "Initializing." |
config |
Logs configuration events and information, such as the
contents of the .probescript file. |
finest |
Produces maximum log output. The log file
will contain the name of every class that is instrumented by the Probekit
agent. |