|
ADTF
|
Common configuration options are predefined properties that can be set within the configuration files of ADTF Systems and ADTF Graphs to adapt the runtime behavior of components.
These options are usually taken into concern while loading, initializing and starting a session by the Session Manager.
By default, all graph components log their messages to its default log channel named default (A_UTILS_NS::log::ILogChannel). It is possible to define custom log channels for each graph component using CreateLogChannel with a custom name.
The log channels are grouped by the property node log_channels and can be configured using the following predefined properties:
| Property | Remark |
|---|---|
log_channels/<name_of_log_channel>/fatal_action | Property to define the default action when a fatal error is reported. (see tAction) |
log_channels/<name_of_log_channel>/recoverable_action | Property to define the action to perform when a recoverable error is reported. (see tRecoverableAction) |
log_channels/<name_of_log_channel>/log_level | Property to define the log level for this channel. (see tLogLevel) |
The runtime configuration options are grouped by the hidden property node #__runtime and can be used to adapt the runtime behavior of components. Here is an overview of the predefined properties:
| Property | Remark |
|---|---|
#__runtime/enabled | |
#__runtime/start_on_startup |
Each runtime configuration property can be set up with a Macro, when handled by the Session Manager.