Openlog

This function sets the Sage X3 engine in log mode. When log mode is activated, a file located in the 'TMP' subfolder of the folder defined by the "ADXDIR" environment variable is opened and filled with log information.

In some cases, the Customer Support team may refer to the file contents in order to provide a diagnosis.

Syntax

ST=openlog(MODE)
It uses the following parameters:
ValueType of Event
1'Gosub' and 'Call' stack log
2All instructions log
4'Read' and 'For' request log
8Log of all sadxxx requests
16Log of all JSon exchanges
32Log of all the Classic mode exchanges
64Log of all the sadldap exchanges
128Log of all the opadxd exchanges

Example

# Log the 'Gosub', 'Call', and database requestsI=openlog(5)

See also

Closelog, Getlogname