Administer - Trace

When you click Trace from the Administer menu, the Trace Log Options dialog opens.

Trace Log Options

You can control the behavior of the Trace Log facility by using the Trace Log Options dialog box. This dialog is presented by selecting the Trace option from the Administration menu. The Trace Log Options are:

Enable Trace Log

Select this option to enable the trace log facility. When this option is disabled, no tracing information will be gathered.

Write to log file

Select this option to store trace information in a disk file called \<DATADIR>\Trace.log, where <DATADIR> is the name of the InfoConnect data directory (this is the Windows directory by default). This option can be set at anytime, however, only information log after this is selected will be stored in the disk file.

Add time stamps

Select this option to add a time stamp to each entry that is logged. The time stamp will appear in front of an entry and take the form hh:mm:ss.ss. Where hh is the hour of the day (use 24 hour clock) mm is the number of minutes after the hour and ss.ss is the number of seconds after the minute (to two decimal points).

Show Xmt/Rcv buffer contents

Select this option to show the contents of data buffers that are being transmitted and received. This will generate a listing of both the hexadecimal value of each byte plus the character. The format will be 16 bytes per line.

Trace Library API calls

Select this option to show the returned results from routines that InfoConnect called in a library. The APIs that are logged are IcLibOpenChannel, IcLibOpenSession, IcLibCloseChannel, IcLibCloseSession, IcLibIdentifySession, IcLibInstall and IcLibTerminate. This option also cause the library Load and Free calls to be logged.

Trace IC_OK results

This option works in conjunction with the Trace Library API calls. If not selected only API calls that return a result other than IC_OK will be logged.

Related topics

Trace Overview