Logging
Log messages of the hopit Edge devices can be seen in the Edge web-interface.
If the Log Collector service is enabled, all log messages are indexed and sent to the hopit Portal.
Edge Log view on the Edge
and in the Portal
:
- Edge-UI
- Portal-UI
- Portal-UI aggregated
- Device Twin
The Device Twin service can be enabled with the Enabled
checkbox. The Targets
section lists all compatible Targets, which can be used to synchronice the Device Twin. To enable one or more Targets, check the checkbox and click Submit
.
The log messages can be seen in the Monitoring dashboards: hopit Portal
-> Edge Devices
-> Monitor
.
Aggregated log messages of all Edge devices can be seen at hopit Portal
-> Monitoring
.
The Log
sections controls the log level for the Edge Device and the LogCollector
enables the log synchronization to the hopit Portal.
{
"Log": {
"LogLevel": "Information"
},
"LogCollector": {
"Enabled": true
}
}
To change the log level, open the Log
page on the Edge device or update the Device Twin
and select one of the following options:
- Trace
- Debug
- Information
- Warning
- Error
- Critical
- None
The default log level is Information
.