You can enable tracing in one of the following ways:
TraceFile
, TraceLevel
, and TraceFileCount
global parameters in the mcxa.conf filemcxa.cmd
or mcxa.sh
commandsmcxa.cmd
or mcxa.sh
commands.By default, the mcxa process trace file is installationDirectory\pw\server\tmp\Adapters\mcxa.trace. Each time the adapter is started, a new trace file is created and old logs are rotated.
You can control the number of old log files through the TraceFileCount
parameter setting in the mcxa.conf file. A value of 0 (zero) removes all old trace files. For more information and default values, see the header of the mcxa.conf file.
You can specify a different trace file in a different location by using the mcxa.cmd
or mcxa.sh
commands. For more information about command-line options, see mcxa command options.
Use the TraceLevel
global parameter in the mcxa.conf file to specify the trace level that you want to use. This setting will apply to all adapters running in the adapter framework. You can specify the following trace levels:
Note
TraceLevel=6
produces very large trace files and is recommended only for debugging.
In addition to logging errors to a log file, adapters send the cell error messages and notifications in the form of events in the following situations:
ServerName
parameter of the [eventadapter90trial:default]
(unnamed) section of the configuration file. The event class is MC_ADAPTER_ERROR.Error and message events sent by the IP Adapters are described in Adapter status events.