Topic blueworx.trace

The blueworx.trace topic contains trace logging.

Note: The topic name used can be changed for individual components using the topic_trace parameter described in

Trace log

A single trace generated from a specific module. The module details are contained within the source/sourceName. The actual trace text is within the content element.

The accountId, applicationId and callIndex are all optional fields and may not be present on all messages.

The blueworx.trace topic supports the following headers.

Table 1. Headers for blueworx.trace
Header Value
Time Timestamp of the entry in milliseconds since 1970
Call Call index on the BVR
Table 2. JSON for Trace logging
Name Type Optional Description
source string No Source of the message
sourceName string No Source name
accountId string Yes Account handling the call
applicationId string Yes Application handling the call
callIndex string Yes Call index on the BVR
content string No Application log message
thread string No Thread
threadName string No Thread name
threadID number No Thread id
timestamp date No Time of application log
traceID string No Trace id
traceLevel string No Trace level of message

Example

{
    "source": "BVR",
    "sourceName": "1.2.3.4",
    "accountId": "0x00000000",
    "applicationId": "0x00000003",
    "callIndex": "VC0102030400000001",
    "content": "Core process: WatchedEvent state:Disconnected type:None path:null",
    "thread": "ZK-EventThread     -   41",
    "threadName": "ZK-EventThread",
    "threadID": 41,
    "timestamp": "2019-06-04 12:54:02.899",
    "traceID": "[T003218]",
    "traceLevel": "TRACE"
}