This page explains the Logger adapter in Bridge context. If you were looking for the same information regarding the PAS Designer, refer to Logger Adapter in the Designer guide.
With the <<Logger>> adapter you can write transactional logging information into the transaction log file of the xUML service.Use action report in this case. The logged information is usable for performance measurements or statistical evaluations (how often has the transaction been called, in which context, etc.). Refer to Process Mining for more information on how to analyze this data.
For the logger to write logs to the transaction log at all, the transaction log level of the xUML service needs to be set at least to Custom. For more information about the transaction log levels see Transaction Log Levels of an xUML Service.
The following picture shows the usage of the <<Logger>> adapter for this case:
Tag action of the logger adapter needs to be set to report. The following input can be provided:
Object Name
Type
Direction
Description
Field in Transaction Log
Allowed Values / Example
domain
String
in
Specify a self-defined name of the domain of the logged entry.
Domain
Stock_Synchronization
state
Boolean
in
Specify how to set the status field in the log entry. This will result in setting the status field in the log entry.
State
true
Set the status field to OK.
false
Set the status field to ERROR.
parameter
String
in
Specify a self-defined parameter.
Parameter 2
Item: YY-2388
Any
Runtime 2020.6Builder 7.8.0 Specify an object of complex type (class or array) that contains additional details. The contents of this object will be flattened and logged instead of parameter.
Bridge 7.0.0-beta2 Specify a custom timestamp. This parameter is optional. If it is not given, the timestamp in the transaction log will be generated from the current timestamp.
timestamp and parameter (Any) are mutual exclusive: You cannot provide a custom timestamp when providing a details object. In this case, the custom timestamp will be overwritten by the actual date and time.