Setting Logging Options

By default, AutoMate maintains text log files that document various events and messages. Task events and system events are recorded in two separate text log files. AutoMate Enterprise systems also maintain an audit log file. These files can be viewed using the AutoMate Event Viewer in the Task Administrator, or they can be opened with any standard text editor.

AutoMate Enterprise systems can also use external database logging to log events to an external data source. AutoMate will automatically create and maintain the tables in this database when logging starts. The events can then be viewed using the AutoMate Event Viewer of the Task Administrator, or they can be queried against like any other database in your database server. For more technical details about this topic, see Logging_Options.

To set logging options:

  1. From the System menu in the Task Administrator window, select Options.

  2. Click the Logging tab (displayed below)

  1. To set text logging, do the following:

    1. Ensure Enable text logging is checked. If this is selected, a task log, a system events log, and (for Enterprise systems) an audit log are maintained. If this is not selected, text logs are not kept.

    2. The Location for log files box shows the default location. To enter a different location click the Open Folder button and navigate to the location.

    3. In the Trim log at box, select the upper size limit of the text log files in kilobytes. If a log reaches this limit, AutoMate will automatically trim 20% of the log file from the top and continue logging at the end of the file.

  2. For Premium systems, if you want to include database logging, do the following:

Note: If you do not have an empty database on your database server to use for your AutoMate database logging, you need to create one before proceeding. Close the Options dialog box, set up your database, and then return to this option.

    1. Select Enable Database Logging.

    2. To configure the data source click Configure.

      A standard OLEDB connection string dialog box opens. For more on data link properties configuration, see Data Link Properties.

    3. Set the database properties and click OK.

    4. To periodically purge 10 percent of the oldest records, select Automatically trim AutoMate Event Log, and then enter the desired time increment in the boxes below.

NOTE: When External Database Logging is enabled, the AutoMate Event Viewer will display the database logs and not the local text files regardless of whether or not text logging is enabled.

See Also

Configuring AutoMate

Logging Options

Viewing the Events Log

Setting Task Logging Properties