CDD Collections Tab Log Configurations Settings Reference
You can define settings for log file on the Collections tab of the CDD.
Property | Global Variable? | Description |
---|---|---|
Name | No | Name of this log configuration. |
Enable | No | Check the Enable check box to enable this log configuration. All other Enable settings are ignored if this check box is unchecked. |
Levels | Yes | Space-separated list of levels and modules used in this log configuration. See
Log Configurations for more details.
Default is
|
Files | ||
Enable | No | Check 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 unchecked, all other properties in this section are ignored. |
Directory | No | 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
|
Name | No | Name of the log file.
The default value is the engine name. If no engine name is set, then the default value is
|
Max number | Yes | Number of log files to keep. When the Max size setting value is reached, a new log file is created for the next log entries. Files are created up to the Max number setting size. The oldest file is deleted when a new file is added after this value is reached.
Default is
|
Max size | Yes | Maximum size of one log file.
Default is
|
Append | No | If checked then new entries are added to the end of the file. If not checked, the contents of the file are flushed each time the engine starts. |
Property | Description |
---|---|
Send to Terminal | |
Enable | Check the Enable check box to enable the redirection specified in this section. If this check box is unchecked, all other properties in this section are ignored. |
Output redirection | If true, the
STDOUT stream is written to the terminal. If
false , it is not.
|
Error redirection | If true, the
STDERR stream is written to the terminal. If
false , it is not.
|
Custom Line Layout | |
Enable | Check the Enable check box to enable the custom line layout entries to take effect. Configure the settings in this section to specify details of a custom layout.
If this check box is unchecked, all other properties in this section are ignored. If this check box is checked all properties in the other sections are ignored (except Name, and Enable in the upper section). |
Class | The custom line layout class.
This class must implement
The class needs 2 constructors:
|
Arguments | A String parameter used for the custom line layout class, if required:
|
Additional log settings can be added to the Processing Unit tab Properties, see Processing Units Configuration Settings.