Application Logs

Topic Contents [Hide]Topic Contents [Show]
  1. Logging Options
  2. Log Files
    1. CM4D (Classic, Interactive, Workcell)
    2. DataSmith
    3. DataSmith Batch Manager and Service
    4. Results Services
    5. Scheduler Manager and Services

Messages about CM4D are saved to a file in the Logs folder. The Logs folder contains all the log files created by the ATS CM4D applications. The Log Folder is a sub-folder of the installed CM4D folder by default, but the log files can be saved to any writable folder (set in the Cm4d.ini file file).

Logs Folder CM4D.ini Settings

Each application and service has two parameters in the Cm4d.ini file: one for the logging option and one for the path of the log file.

If changes are made to the Cm4d.ini file, all applications (and running CM4D Services) must be restarted before the changes will take effect.

Logging Options

The logging option set in the Cm4d.ini file determines what information is written to the log file. Only one option may be used at one time.

Option

Description

none

Disables all logging filters

all

Enables all logging (errors, milestones, detail, and developer)

errors

Logs error messages. This is the most common setting for general troubleshooting.

milestones

Logs key messages, such as when data has been saved to the database

detail`

Obsolete logging option

developer

Used for debugging purposes ONLY!

This parameter is NOT recommended for use in a production environment, as the log files will become quite large.

This option should only be used under the direction of ATS Technical Support.

Log Files

Within the Logs folder, the name of the log file indicates which application created the file. When the current log file reaches a size of 10MB, a new log file will be created with the number following the underscore increased by one number (up to 99 before restarting at 00). If a file is more than 10 days old, it will be removed from the log folder. Once a file is removed, it is permanently deleted (not sent to the Recycle bin).

CM4D (Classic, Interactive, Workcell)

DataSmith

DataSmith Batch Manager and Service

Results Services

Scheduler Manager and Services

Can we improve this topic?