Configure Log Files Settings

The Core Engine logs the messages in the files. The configuration for the log files are defined as log configurations for a processing unit. Each processing unit references a log configuration. The log configurations are defined in the Collections tab of the CDD file depending on the processing unit. For example, use ASG_HOME/bin/asg_cl.cdd for the asg-cl processing unit and ASG_HOME/bin/asg_core.cdd for rest of the run time processing units.See CDD File and Processing Units to find the CDD file for a processing unit.

For a reference to the settings, see File Properties Settings for a Log Configuration in the CDD Collections Tab.

File Properties Settings for a Log Configuration in the CDD Collections Tab
Property Notes
Enable Select the Enable check box to enable log files to be written. Configure the settings in this section to specify details. If this check box is cleared, all other properties in this section are ignored.
Directory Enter the absolute path to the directory in which you want to store the files.

If you do not enter a leading slash, the files are stored relative to the working directory (the directory in which you start the asg-engine.exe executable).

Name The name of the log file.

If no name is set, the default value is the <processing unit name>.log.

For example, for the asg-caching-core processing unit, the log file name defaults to asg-caching-core.log.

Max number The number of log files to keep. When the value set in the Max size field is reached, a new log file is created for the next log entries. Files are created up to the value set in the Max number field. The oldest file is deleted when a new file is added after this value is reached.

The default is value is 10.

Max size The maximum size of one log file in bytes.

The default is 10000000.

Append If selected, new entries are added to the end of the file. If not selected, the contents of the file are flushed each time the engine starts.