Switch preferences: Logging

These preferences allow you to configure the way (log) messages are handled in Switch.

For more information about the log messages, refer to The Messages overview.

Property

Description

Log to CSV file

If set to Yes, all execution log messages are written to a CSV file in addition to the regular log database.

A new log file is created when the size of the log file has reached 2.5 MB. The name of the log file includes the date and the time (YYYYMM-DDHHmmss).

Note: Enable this option only on request of the Enfocus technical support team or if you're debugging a script that issues debug messages.

The following options are only available if Log to CSV file is set to Yes.

 

CSV file delimiter

The delimiter separating the records in the generated CSV log file, for example a comma or a semicolon.

 

Log files folder

Folder where the CSV log files will be stored.

If set to Default, the log files are stored in the "Logs" folder of the Application data root (see Switch preferences: Application data).

Log debug messages

If set to Yes, assert and debug messages are logged. They are shown in the Messages overview and written to a CSV file.

If set to No, the assert and debug messages are discarded.

Note: Enable this option only on request of the Enfocus technical support team or if you're debugging a script that issues debug messages.

Refer to The Messages overview.

Log FTP interaction If set to Yes, problems with failed FTP transfers are logged and saved in:
  • FtpSendTrace.log for FTP send
  • FtpWatchFolderTrace.log and FtpReceiveTrace.Log for FTP receive
These files can be found in the logs folder of the Switch Application Data Root (as set in the Application data preferences).

The following option is only available if Log FTP interaction is set to Yes.

 

Clean the log when flow is activated

If set to Yes, the FTP interaction logs will be deleted when the flow is activated.
Note: When logs are stored for a long time, Switch may become slow and sometimes non-responsive. Therefore, we recommend clearing logs regularly.