StartErrorLog
- 1 Minute to read
- Print
- DarkLight
- PDF
StartErrorLog
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Starts the script error log
When executing server side the log will be written to the output directory as "filename" and mailed everyone in the "mailTo" list. Use "serverPath" to specify an alternative log file location.
serverPATH must start with a system variable. If sub paths are included, it must end with a slash:
{
"method": "StartErrorLog",
"filename": "DemoLog.txt",
"serverPath": "%DATAPATH%Folder/Folder2/",
"mailTo": [],
"project": "Demonstration"
}
{
"method": "StartErrorLog",
"filename": "DemoLog.txt",
"serverPath": "%DATAPATH%Folder/Folder2/",
"mailTo": [],
"project": "Demonstration"
}
Add the following to generate a workbook containing variables, Info and Errors entries.
Set append to true if this log in being added to an existing workbook.
"workbook": {
"filename": "log.xlsx",
"append": false,
"variables": "Variables",
"info": "Info",
"errors": "Errors"
}
Was this article helpful?