Trace (-T or -TRACE)

Use the Trace adapter command (-T or -TRACE) to produce a diagnostics file that contains detailed information about Socket Adapter activity.

The default filename is m4sockt.log and it is created in the map directory unless otherwise specified.


-T[E|V][+] [file]
Option
Description
E
Produce a trace file containing only the adapter errors that occurred during map execution.
V
Verbose mode. Record in the log file all activity occurring while the adapter is retrieving data. The maximum size of the log file is 256 bytes. If you need to trace more or less bytes, set the TX_SOCKET_MAX_BYTES_IN_TRACE_MESSAGE environment variable.
+
Appends trace information to the existing log file; otherwise, the log file is recreated.
file
The log filename.

If a filename contains spaces or other special characters it must be enclosed in quotation marks. Example: "test-file.txt".