Difference between revisions of "Extensions.Logging"
(Created page with "{{DISPLAYTITLE:OTX '''Logging''' Extension}}Category:OTX-ExtensionCategory:Logging == Classification == {{ClassificationExtension | Logging | Provides functionality wh...") |
m (Hb moved page Logging to Extensions.Logging: #3153) |
(No difference)
|
Revision as of 06:08, 4 February 2016
Classification
Name | Logging |
Short Description | Provides functionality which allows for explicitly writing log-messages to a logging-resource. |
Class | OTX Extension |
Base Extension | - |
Pre-Conditions | - |
Specified by | ISO 13209-3 |
Introduction
The logging library provides functions that help one can write log messages in log-resources (log files). To filter the log messages called Severity and log levels are used.
The severity level assigned each log message, depending on the severity of a group, see table. The highest severity is FATAL and TRACE is the lowest.
Serverity | Descrition |
FATAL (Highest) | Serious error which requires the immediate termination of the process |
ERROR | Common runtime errors or unexpected behavior |
WARN | Situations that are undesirable or unexpected, but not really wrong |
INFO | Interesting runtime events |
DEBUG | Information to reconstruct the sequence of a sequence can |
TRACE (Lowest) | Detailed information in order to understand the flow of a sequence can |
The log level determines whether a message is written to the log resource or not. The following rule applies: If the log level is greater than or equal to the severity of the message is written the message, see table. Example: If the log level is set to ERROR, only messages with severity FATAL and ERROR are written to the log file. All other messages are ignored.
Serverity | Descrition |
OFF (Lowest) | Logging is off |
FATAL | Only messages with severity "FATAL" logged |
ERROR | Only messages with severity "ERROR" and logged about |
WARN | Only messages with severity "WARN" and also logged |
INFO | Only messages with severity "INFO" and it logged |
DEBUG | Only messages with severity "DEBUG" and also logged |
TRACE | Only messages with severity "TRACE" and logged about |
ALL (Highest) | Information to reconstruct the sequence of a sequence can Overview of log levels (thresholds) |
The log level is generally set within the drain system, but can also be adjusted by an activity within a process. Similarly, the name of the log file is configured in the execution system.
Actions
SetLogLevel | |
WriteLog |
Data Types
LogLevel | |
SeverityLevel |