Trace (-T)

Use the Trace adapter command (-T) to produce a log file with the default name m4aq.log in the map execution directory. The Trace adapter command (-T) is used with data sources or data targets to enable adapter tracing.

-T[E][+] [path][level]
Option Description
E

Produce a trace file containing only the adapter errors that occurred during map execution.

+

This appends the current trace file to an existing trace file. Without the +, the existing trace is deleted and the new trace is written to an empty file.

path

This is the relative or full path name of the trace file location. If no name is specified, the default file name is m4aq.log.

level

This indicates the level of information provided in the trace file. The lower the number, the more basic the information. As level numbers increase, additional information is provided in the trace file. (See the available values below.) If no value is specified, the default is 0.
Level
Description
0 or 1
Provides recorded detailed information about the adapter activity such as messages retrieved, SQL statements executed, errors returned (if any), and so on.
2 or higher
In addition to the information provided for a 0 level trace, this level provides information about processing individual object fields.

The trace file contains information about internal adapter states.