The application log is published in the logging topic. In this log, you find any general application log information that is no direct response to any given command, such as application unhandled errors, camera error messages and camera connectivity issues. The purpose of this log is to provide a human-readable application feedback that isn't intended for interpretation by any software.
There are different structures to receive logging messages for ZMQ and for MQTT:
In ZMQ, subscribe to the app/logging topic on the PUB/SUB port to receive application feedback.
In MQTT, subscribe to the {mqttRoot}/app/logging topic to receive application feedback.
The application events are expected to be published on the event topic. The application events contain general application events which aren't direct responses to any given command, such as application unhandled errors, camera error messages, and camera connectivity issues. In contrast to the application log, the purpose of these events is to provide notifications that can be interpreted by software. Certain message types may carry additional data. However, this is only required for the message codes listed below.
There are different structures to receive logging messages for ZMQ and for MQTT:
In ZMQ, subscribe to the app/events topic on the PUB/SUB port to receive application feedback.
In MQTT, subscribe to the {mqttRoot}/app/events topic to receive application feedback.
{"Timestamp":"2014-01-09T13:35:34.000000000+0100","Code":50331650,"Level":"Error","Message":"Lost connection with myCam1","AdditionalData":{"DeviceID":"myCam1"}}
Frame warning events must contain additional data that contains the entry DeviceID of the device on which this event occurred. If more than 1 frame is affected, you must add a FrameCount.
List of all frame warning events:
0x01000001: One or multiple corrupt frames were received.
0x01000002: One or multiple dropped frames were detected.
The number of images affected. If no frame count is provided, this is interpreted as a frame count of 1.
Example event for dropped frames:
{"Timestamp":"2014-01-09T13:35:34.000000000+0100","Code":16777218,"Level":"Warning","Message":"3 dropped frames have been detected on myCam1","AdditionalData":{"DeviceID":"myCam1","FrameCount":3}}