Logging

Property

Description

Saving log messages

Determines the mechanism for saving log messages into Switch's logging database:


  • Fast: uses delayed writing to increase speed but risks loosing messages in case of an operating system crash or power failure

  • Safe: writes each message to disk before proceeding; this guarantees that no messages are lost but it can be quite slow when Switch logs many messages per second (in practice the "fast" option is almost always preferred)

Export messages to XML

When set to “yes” the messages stored in the execution log are automatically exported to daily XML files, starting with the day on which the feature was turned on

The export happens 5 minutes after midnight; if days were skipped because Switch wasn’t active, the missing days are exported 5 minutes after the next startup

The name of the exported files include the Switch server name (see internal communication preferences) and the date in the format: “<server-name> logs YYYY-MM-DD.xml”

See Exporting log messages for information on the XML schema of the exported files

Destination folder

The folder where the exported XML files are placed

To process the exported XML files with Switch, set the destination folder to the input folder of an active flow

Log debug messages

When set to “yes” any debug messages are written to the regular log database (normally they are ignored)

Turn on this preference only when so requested by Enfocus Support, or when you are debugging a script that issues debug messages

Log to text file

When set to “yes” all execution log messages (including debug messages) are written to a comma-separated text file in addition to the regular log database

Turn on this preference only when so requested by Enfocus Support