Breadcrumbs

Contents of the xUML Transaction Log

For services where transaction logging is enabled (see Changing the Log Level of a Containerized xUML Service (Kubernetes) resp. Changing the Log Level of a Containerized xUML Service ), the xUML Runtime writes information to the xUML transaction log.
Depending on the log level of the service, this can be custom log messages, and information about calls to service interfaces and internal and external adapter calls (see Transaction Log xUML Service Adapter Details further below for more information on the logged details).

The log files are very useful for debugging. If an xUML service has problems with system connections or calls to other services, increase the transaction log level to record more information. Each incident will be recorded in chronological order.

Refer to Working With the Log Analyzer for more information on how to find these logs.

Structure of the Transaction Log


The transaction log contains the following information:

Log Item Property

Example Description

Time

Jun 5, 2025 @ 11:17:28.612770426

Timestamp when request was received.

Time is set automatically for system messages.
Custom log messages written with the Log Adapter or the report() function can contain a custom timestamp. This may result in log messages that are not sequential.

req.tid

00000002d3b0bdc0000069ce00ff9700ea65376f

Unique ID of the transaction. It is used to trace service calls through the call stack. The transaction log contains the first 40 characters of the transaction ID.

req.id

101

Unique ID of request.

req.cmpnt

urn:Services.SupportCase.SupportAPI.supportcases.GET

Name of component that has been requested (not the name of the xUML service).

elapsed_time

36

Elapsed time, for each call (service calls, external or internal calls) in milliseconds.

If the elapsed time is displayed as "0", the logged step has taken below 1 millisecond of time. The value of elapsed time does not contain:

  • before SERVICE_ENTER

    • reading the request data from the network

    • parsing the request body (e.g. SOAP)

  • after SERVICE_EXIT

    • creating the response (e.g. SOAP)

    • sending the response to the client

status

OK

State is either OK or ERROR.

log.domain

INTERFACE

  • If an adapter has been called, the domain fields contains a value denoting the adapter, for instance SAPRFC, SQL, FILE, SYSAD, POP3, URL, etc.

  • If a service operation has been called, the value is INTERFACE.

  • If a log entry has been triggered by the user via the logger adapter, the value was defined in the UML model.

log.type

SERVICE_EXIT

  • SERVICE_ENTER or SERVICE_EXIT marks the begin/end of a service call.

  • TRANSITION_ENTER or TRANSITION_EXIT marks the begin/end of persistent state transition handling.

  • DOACTION_ENTRY or DOACTION_EXIT marks the begin/end of a persistent state do activity.

  • IO_ENTER or IO_EXIT marks the begin/end of an IO operation, like e.g. an adapter call.

  • If the logger adapter triggered the log entry, the value is CUSTOM.

detail.param1
detail.param2

anonymous 2.0.232.75

  • Parameters, for instance, if the file system adapter has been called, the first parameter corresponds to the executed action (e.g. ReadDirectory) and the second one to the specified file.

  • If the logger adapter triggered the log entry, the first parameter corresponds to the description defined as input for the adapter in the UML model.

req.cid

00000011e33a4f8400004fc4000043ac9bc69bee

Unique ID that relate an adapter call with the adapter response. The transaction log contains the first 40 characters of the correlation ID.

A correlation ID is available for the following:

  • adapters sending a correlation ID: SOAP, URL, SMTP, SAPRFC, Persistent State, JMS

  • services receiving a correlation ID: SOAP, HTTP, SAP, JMS Listener

For more information refer to Adapters in the xUML Service Reference Guide and Adapters in the Designer Guide.


Log Levels

The following transaction log levels can be set for each xUML service. The higher the log level the more information will be written to the log files. The log levels in the table below are cumulative and are ordered from the lowest to the highest log level. For each log level, also the information of the lower levels is logged.

Log Level

Log Types Logged

Description

None


Logging is disabled.

Custom

CUSTOM

Logs process information and custom log messages that have been implemented to the process. This is the minimum log level to use if KPIs (for Process Mining) should be logged to the process logs.

Service

CUSTOM
SERVICE_ENTER
SERVICE_EXIT
TRANSITION_ENTER
TRANSITION_EXIT
DOACTION_ENTER
DOACTION_EXIT

Logs custom messages, and calls to the service interface.

IOExternal

CUSTOM
SERVICE_ENTER
SERVICE_EXIT
TRANSITION_ENTER
TRANSITION_EXIT
DOACTION_ENTER
DOACTION_EXIT
IO_ENTER
IO_EXIT

Logs custom messages, calls to the service interface, and adapter calls to external systems.

IOInternal

CUSTOM
SERVICE_ENTER
SERVICE_EXIT
TRANSITION_ENTER
TRANSITION_EXIT
DOACTION_ENTER
DOACTION_EXIT
IO_ENTER
IO_EXIT

Logs custom messages, calls to the service interface, and adapter calls to external and internal systems.

Transaction ID

The Transaction ID identifies a transaction. It is a unique number used to trace service calls through the call stack of multiple service calls.

  • Clients calling a service running on the Bridge can provide a transaction ID in HTTP header X-Transaction-ID or xTransactionId (in JMS context).

  • SOAP clients can also use the SOAP headers to provide a transaction ID.

  • If an xUML service is called without providing a transaction ID, the xUML Runtime will generate such an ID.

This ID will be passed on through the call stack of the xUML service, so that the whole transaction can be traced. This can be useful, when analyzing the log file in case of error.

Transaction Log Domains

Each adapter logs to a dedicated domain:

Adapter

Adapter Stereotype

Domain

Documentation Link

Log entries that concern the service itself


INTERFACE


Conversation

E2ESendSignalAction
E2EAcceptEventAction

CONVERSATION

Transaction Logging of Conversations

File System Adapter (Bridge)

Filesystem Adapter (Designer)

FileSystemAdapter

FILE

Transaction Logging of the File System Adapter

Java Adapter
JMS Adapter

JavaAdapter
JMSAdapter
E2EJMSListener

JAVA

Transaction Logging of the Java Adapter

Log Adapter

Logger Adapter (Designer)

Logger

domain given by the adapter call in tagged value domain

Transaction Logging of Log Adapter

Persistent States Adapter

PersistentStateAdapter

PSTATE

Transaction Logging of the Persistent State Adapter

POP3 Adapter

POP3Adapter

POP3

Transaction Logging of the POP3 Adapter

REST Adapter (Bridge)

REST Adapter (Designer)

RESTAdapter

REST

Transaction Logging of the REST Adapter

SAP Adapter (Bridge)

SAP Adapter (Designer)

SAPRFCAdapter
SAPTRFCAdapter
SAPTRFCCreateTransaction
SAPTRFCConfirmTransaction

SAPRFC

Transaction Logging of the SAP Adapter

SMTP Adapter


SMTPAdapter

SMTP

Transaction Logging of the SMTP Adapter

SOAP Adapter

SOAPAdapter

SOAP

Transaction Logging of the SOAP Adapter

SQL Adapter (Bridge)

SQL Adapter (Designer)

SQLAdapter

SQL

Transaction Logging of the SQL Adapter

System Adapter

SystemAdapter

SYSAD

Transaction Logging of the System Adapter

URL Adapter (Bridge)

URL Adapter (Designer)

URLAdapter

URL

Transaction Logging of the URL Adapter

ZIP Adapter

ZIPAdapter

ZIP

Transaction Logging of the ZIP Adapter

Transaction Log xUML Service Adapter Details

Conversations

Domain

State

Parameter 1

Parameter 2

Correlation ID

Log Level: IOInternal

CONVERSATION

OK

Send

conversation ID

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

Receive 

conversation ID

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

File System Adapter

Domain

Component

Parameter 1

State

Parameter 2

Log Level: IOInternal

FILE

name of the adapter action node

adapter action as defined on the adapter: read, readLine, write, createDirectory, readDirectory, status, remove, removeRecursively, rename, append, close

Example: createDirectory

OK

path to file/directory
Example: ./tmp/testFile_dyn.txt

ERROR

error message
Example:Failed stating entry "./tmp/testFile_dyn.txt".

rename

OK

path to old file
Example: ./tmp/testFile_old.txt

Java Adapter

Domain

Component

Parameter 1

State

Parameter 2

Log Level: IOInternal

IO_ENTER

IO_EXIT

JAVA

name of the adapter action node

JavaAddOn.execute

OK ERROR

start

executed

JMS Adapter

The JMS adapter is used in combination with the Java adapter. Possible errors are logged with the Java adapter.

Domain

Component

Transaction ID

Parameter 1

State

Parameter 2

Correlation ID

Log Level: IOInternal

JAVA

name of the adapter action node

custom JMS header property xTransactionId if present (see JMS Adapter Reference for more information on custom JMS Adapter header fields)

SendMessageAction.execute
ReceiveMessageAction.execute

OK

JMS connection
Example:tcp://localhost:61616

JMSMessageID (for send and receive, not for listen)

Log Adapter

Domain

Component

Adapter Action

State

Parameter 1

Parameter 2

Log Level: Custom

as defined in tagged value domain

name of the adapter action node

report

OK

as defined in tagged value description

as defined in tagged value parameter

POP3 Adapter

Domain

Component

Adapter Action

Parameter 1

Parameter 2

State OK

State ERROR 

Log Level: IOExternal

POP3

name of the adapter action node

getMessage

GetMail 

Mail host
Example:linux.e2e.ch

Failed

delete

DeleteMail

commit

commit

rollback

Rollback

Persistent State Adapter

Log Level "Service"

The start of a transition/do activity (TRANSITION_ENTER/DOACTION_ENTER) is always logged with state OK. If the transition/do activity fails,  TRANSITION_EXIT/DOACTION_EXIT is logged with state ERROR and the transition/do activity is rollbacked.

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

PSTATE

name of the persistent state class

TRANSITION_ENTER
TRANSITION_EXIT

OK

name of the transition

primary key of the persistent state object

DOACTION_ENTER
DOACTION_EXIT

OK

internal MagicDraw id of the do activity

primary key of the persistent state object

Log Level "IOInternal" for Bridge Console Actions

Domain

Control Port Action

Component

Parameter 1

Parameter 2

Log Level: IOInternal

PSTATE

retry of completion transition

broadcastCompletionEvent

<name of persistent state class>

<console user>

retry of completion transition

createCompletionEvent

<name of persistent state class>:<unique object ID>

delete single PS object

deleteObject

<name of persistent state class>:<unique object ID>

show pstate data as raw object

getObject

<name of persistent state class>:<unique object ID>

show pstate data as raw object

getObjectByKey

<name of persistent state class>:<unique object ID>

list all PS classes

listAllClasses


list all PS classes

listClasses


list all PS objects

listObjects

<name of persistent state class>

show instances for owner

listOwners


assign objects to own service instance

moveOwner

Move owner from <ID of old owner>to<ID of new owner>

delete PS objects

reset


delete PS objects

resetAll


send signal to PS object

sendSignal

<unique object ID>

Log Level "IOInternal" for xUML Service Actions

Domain

Component

Adapter Action

Parameter 1

Parameter 2

IO_ENTER State OK

IO_EXIT State OK

IO_EXIT State ERROR

Log Level: IOInternal

PSTATE







name of the persistent state class


broadcast signal

Broadcast

signal name



create

Create

undefined

primary key of the persistent state object

undefined

getObjectHandle

Get handle

unknown

primary key of the persistent state object

unknown

getObjectHandles

Search handles

name of the persistent state class



getObjectCopy

Get copy

primary key of the persistent state object



getStateInfo

Get state info

primary key of the persistent state object



commit

Commit

primary key of the persistent state object



rollback

Rollback

pimary key of the persistent state object



send signal

Send

signal name



REST Adapter

Domain

Component

Parameter 1

State

Parameter 2

Log Level: IOExternal

REST

name of the adapter action node

REST method, e.g. GET

OK
ERROR

REST URL

SAP Adapter

Domain

Component

Parameter 1

State

Parameter 2

Correlation ID

Log Level: IOExternal

SAPRFC

name of the adapter action node

adapter operation
Example:RFC_SYSTEM_INFO

OK
ERROR

IP address of the SAP system
Example:80.241.97.227

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

SAPConnectionPool

OpenConnection

Open connection to SAP system.


CloseConnection

Close connection to SAP system.

PoolExhausted

No connection available from the SAP connection pool.

SMTP Adapter

Domain

Component

Parameter 1

State

Parameter 2

Correlation ID

Log Level: IOExternal

SMTP

name of the adapter action node

Send Mail

OK

SMTP host and correlation ID
Example:smtp.mail.net 00000002a28435030000387c00001adcd46ef793

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

ERROR

error message
Example:<test3@e2e.ch>: Recipient address rejected: User unknown in local recipient table

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

SOAP Adapter

Domain

Component Name

Parameter 1

State

Parameter 2

Correlation ID

Log Level: IOExternal

SOAP

name of the SOAP operation

""

OK

URL

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

ERROR

error message

SQL Adapter

Adapter Call

Domain

Adapter Action

Parameter 1

Log Level: IOExternal

SQL

execute

SQL action as defined in the SQL statement:
select, insert, update, commit, rollback or stored procedure name
Example:INSERT

fetch

fetch

closeHandle

closeHandle

Log Level: IOInternal

SQL

implicit action

connect

Establish a connection to the database.

PRAGMA

Apply a PRAGMA statment to the database connection.

disable autocommit

Disable autocommit on this database connection.

set transaction isolation level to

Set the database isolation level to the given value.

commit (implicit)

Perform an implicit commit on the database transaction.

rollback (implicit)

Perform an implicit rollback on the database transaction.

isalive (implicit)

Test the database connection.

disconnect

Disconnect from the database.

States

Domain

State

Parameter 2

SQL

OK

name and path of the SQL database the action has been performed on
Example:..\resource\Employee.sqlite

ERROR

error message
Example:SQLAPI exception

System Adapter

Domain

Component Name

Parameter 1

State

Parameter 2

Log Level: IOInternal

SYSAD

name of the adapter action node

Execute

OK

component name

URL Adapter

Domain

Parameter 1

State

Parameter 2

Correlation ID

Log Level: IOExternal

URL

URL method
Example:GET

OK

URL
Example: http://www.e2ebridge.com/BridgeFiles/bridging_in_a_nutshell.htm

https://scheer-pas-doc.atlassian.net/wiki/s/1919486055/6452/c8d220627d4ff438dbc4c2b41ff70b9a00a36d21/_/images/icons/emoticons/check.png

ERROR

-

ZIP Adapter

Domain

Parameter 1

State

Parameter 2

Log Level: IOInternal

ZIP

Zip

OK

name of the ZIP file

ERROR

-

Transaction Log Service Implementation Details

HTTP Service

Domain

Component

Log Type

Transaction ID

State

Parameter 1

Parameter 2

Correlation ID

Log Level: Service

INTERFACE

model path to the HTTP operation
Example:urn:Services.SimpleHTTPService.SimpleHTTPPort.echo

SERVICE_ENTER

HTTP header X-Transaction-ID if present

OK

anonymous

IP address of the caller|HTTP header X-Sender-Host|HTTP header X-Sender-Service
Example:1700:e84e:|bridge2.scheer-acme.com|TestService

HTTP header X-Request-ID if present

SERVICE_EXIT

HTTP header X-Transaction-ID
or unique id if not present

Java Callback Service

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

INTERFACE

model path to the callback operation
Example:urn:Services.HelloBridgeService.HelloBridgePort.sendText

SERVICE_ENTER
SERVICE_EXIT

OK

anonymous

IP address of the caller
Example:1700:e84e:

REST Service

Domain

Component

Log Type

Transaction ID

State

Parameter 1

Parameter 2

Correlation ID

Log Level: Service

INTERFACE

model path to the REST operation
Example:urn:Services.SupportCase.SupportAPI.supportcases.POST

SERVICE_ENTER

HTTP header X-Transaction-ID if present

OK

anonymous

IP address of the caller|HTTP header X-Sender-Host|HTTP header X-Sender-Service
Example:1700:e84e:|bridge2.scheer-acme.com|TestService

HTTP header X-Request-ID if present

SERVICE_EXIT

HTTP header X-Transaction-ID
or unique id if not present

SAP Service

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

INTERFACE

model path to the SAPRFC operation
Example:urn:Services.RFCServerExample.CalculatorPort.Z_RFC_SERVICES.Z_RFC_ADD

SERVICE_ENTER
SERVICE_EXIT

OK

anonymous

IP address of the caller
Example:1700:e84e:

Scheduler Service

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

INTERFACE

model path to the scheuler.EXECUTE_SCHEDULER_DIAGRAM 

SERVICE_ENTER
SERVICE_EXIT

OK

default 

-

SOAP Service

Domain

Component

Log Type

Transaction ID

State

Parameter 1

Parameter 2

Correlation ID

Log Level: Service

INTERFACE

model path to the SOAP operation
Example: urn:HelloWorldService.HelloWorldPort.helloWorldCreate

SERVICE_ENTER

HTTP header X-Transaction-ID if present

OK

anonymous

IP address of the caller|HTTP header X-Sender-Host|HTTP header X-Sender-Service
Example:1700:e84e:|bridge2.scheer-acme.com|TestService

HTTP header X-Request-ID if present

SERVICE_EXIT

HTTP header X-Transaction-ID
or unique id if not present

Timer and Event Observer Service

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

INTERFACE

model path to the timer.EXECUTE_TIMER_DIAGRAM 

SERVICE_ENTER
SERVICE_EXIT

OK

default 

-

Transaction Log System Log Details

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

INTERFACE

request service status
rpcctrl.Status

SERVICE_ENTER
SERVICE_EXIT

OK 

anonymous

IP address of the caller
Example:1700:e84e::

request long running session threshold
rpcctrl.Sessions

SERVICE_ENTER
SERVICE_EXIT

OK 

SYSTEM 

reload changed tab files (e.g. due to changes to service preferences)
rpcctrl.Reload

SERVICE_ENTER
SERVICE_EXIT

OK 

anonymous

request service shutdown
rpcctrl.Shutdown

SERVICE_ENTER
SERVICE_EXIT

OK

<user that has triggered the action>
Example:admin 

Transaction Log xUML Runtime API Details

Domain

Component

Log Type

State

Parameter 1

Parameter 2

Log Level: Service

INTERFACE

urn:xUML_Controller.xUML Controller.<api resource path>.<request method>

SERVICE_ENTER
SERVICE_EXIT

OK 

anonymous

IP address of the caller
Example:1700:e84e::

📗
📘

Related Documentation: