The transaction log contains the following information:
|
The following transaction log levels can be set for each selected 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. How to view the log is described in xUML Service Transaction Log. |
|
Each adapter logs to a dedicated domain:
Domain | State | Parameter 1 | Parameter 2 | Correlation ID | |||||
---|---|---|---|---|---|---|---|---|---|
Log Level: IOInternal | |||||||||
CONVERSATION | OK | Send | conversation ID | ||||||
Receive | conversation ID |
Domain | Component | Parameter 1 | State | Parameter 2 |
---|---|---|---|---|
Log Level: IOInternal | ||||
FILE | name of the adapter action node | adapter action as defined on the adapter: Example: | OK
| path to file/directory Example: ./tmp/testFile_dyn.txt |
ERROR | error message Example: Failed stating entry "./tmp/testFile_dyn.txt". | |||
| OK
| path to old file Example: ./tmp/testFile_old.txt |
Domain | Component | Parameter 1 | State | Parameter 2 | ||
---|---|---|---|---|---|---|
Log Level: IOInternal | IO_ENTER | IO_EXIT | ||||
JAVA | name of the adapter action node | JavaAddOn.execute | OK
|
start
| executed |
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 | OK
| JMS connection Example:
tcp://localhost:61616
| JMSMessageID (for send and receive, not for listen) |
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 |
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 | Failed |
delete | DeleteMail | ||||
commit | commit | ||||
rollback | Rollback |
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 | OK | name of the transition | primary key of the persistent state object |
DOACTION_ENTER | OK | internal MagicDraw id of the do activity | primary key of the persistent state object |
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> |
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 |
Domain | Component | Parameter 1 | State | Parameter 2 |
---|---|---|---|---|
Log Level: IOExternal | ||||
REST | name of the adapter action node | REST method, e.g. GET | OK
| REST URL |
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
| IP address of the SAP system Example: 80.241.97.227 | ||
| OpenConnection | Open connection to SAP system. | ||||
CloseConnection | Close connection to SAP system. | |||||
PoolExhausted | No connection available from the SAP connection pool. |
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 | ||
ERROR | error message Example: <test3@e2e.ch>: Recipient address rejected: User unknown in local recipient table |
Domain | Component Name | Parameter 1 | State | Parameter 2 | Correlation ID |
---|---|---|---|---|---|
Log Level:IOExternal | |||||
SOAP | name of the SOAP operation | "" | OK | URL | |
ERROR | error message |
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:
| |
ERROR | error message Example: |
Domain | Component Name | Parameter 1 | State | Parameter 2 | |
---|---|---|---|---|---|
Log Level: IOInternal | |||||
SYSAD | name of the adapter action node | Execute | OK | component name |
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
| |
ERROR | - |
Domain | Parameter 1 | State | Parameter 2 | |
---|---|---|---|---|
Log Level: IOInternal | ||||
ZIP | Zip | OK | name of the ZIP file | |
ERROR | - |
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 |
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 | OK | anonymous | IP address of the caller Example: 1700:e84e: |
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 |
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 | OK | anonymous | IP address of the caller Example: 1700:e84e: |
Domain | Component | Log Type | State | Parameter 1 | Parameter 2 |
---|---|---|---|---|---|
Log Level: Service | |||||
INTERFACE | model path to the scheuler.EXECUTE_SCHEDULER_DIAGRAM | SERVICE_ENTER | OK | default |
|
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 |
Domain | Component | Log Type | State | Parameter 1 | Parameter 2 |
---|---|---|---|---|---|
Log Level: Service | |||||
INTERFACE | model path to the timer.EXECUTE_TIMER_DIAGRAM | SERVICE_ENTER | OK | default |
|
Domain | Component | Log Type | State | Parameter 1 | Parameter 2 |
---|---|---|---|---|---|
Log Level: Service | |||||
INTERFACE | request service status
| SERVICE_ENTER | OK | anonymous | IP address of the caller Example: 1700:e84e:: |
request long running session threshold
| SERVICE_ENTER | OK | SYSTEM | ||
reload changed tab files (e.g. due to changes to service preferences) | SERVICE_ENTER | OK | anonymous | ||
request service shutdown | SERVICE_ENTER | OK | <user that has triggered the action> Example: admin |
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 | OK | anonymous | IP address of the caller Example: 1700:e84e:: |