Customization > Automation Interface > Functions > Reporting Functions > EnableFileLogging function (automation interface)
EnableFileLogging function (automation interface)
Syntax:
EnableFileLogging
Enables file logging.
* 
Use SetLogFile to specify the location and name of the log file.