You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The <<Logger>> adapter also writes transactional logging information via a queue asynchronously into the transaction log file of the xUML service. The logged information is usable for performance measurements or statistical evaluations (how often has the transaction been called, in which context, etc.). On the E2E Bridge, the transaction log level 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.

Figure: Writing into the Transaction xUML Service Log

Figure: Logger Tag action

The Tag action of the logger adapter needs to be set to report. The following input can be provided:

Object NameTypeDescriptionField in Transaction Log
stateBooleantrue or false. This will result in setting the status field in the log entry to OK respectively ERROR.State
domainStringself-defined name of the domain of the logged entryDomain
parameterStringself-defined parameterParameter 2
descriptionStringdescription for the log entryParameter 1
timestampDateTimeBridge 7.0.0-beta2 custom timestamp. This parameter is optional. If it is not given, the timestamp in the transaction log will be generated from the current timestamp.Date, Time

Example

set state = true;
set description = "Example log entry for transaction log";
set domain = "Example Transaction";
set parameter = "counter = 3";
set timestamp = currentDateTime();

The output after running the example can be found in the xUML Service Transaction Log on the E2E Bridge.

  • No labels