Specifies whether to generate log files (.log), and if so, which kind of information to write to the files. Log files contain information about timers, transactions performed by a user, and function calls invoked by the transactions. A separate log file is generated for each virtual user.
Kernel.bdh
SetLogOption( in nOption : number );
Parameter | Description |
---|---|
nOption |
Logging option. If this parameter is set to 0, no log files are generated. Otherwise, if any combination of the following flags is passed to the function, a separate log file for each virtual user is generated.
|
dcltrans transaction TInit begin // include in the log file all transaction and // API function calls a user performs SetLogOption(OPT_LOG_TRANSACTIONS | OPT_LOG_APICALLS); end TInit;