This guide will help you to enable remote logging and read logs from ThingsBoard IoT Gateway on your ThingsBoard platform instance.
For purpose of this guide, we will use following things:
To activate and set logging level, please follow next steps:
DEBUG INFO WARNING ERROR CRITICAL NONE
It may be not convenient to review logs in the Device details window. We should show them on a dashboard.
So we will be able to investigate all logs, not only the latest one.
To do this we use following steps:
Check LOGS key and click SHOW IN WIDGET button:
We will use the default Cards widget:
Choose Timeseries table Card widget and add it to the Dashboard. It can be either the new one or the existing dashboard.
As a result now we can monitor the status of the gateway device from ThingsBoard environment.
Explore guides related to main ThingsBoard features: