Skip to content

Treon Gateway - Enable Debug Logs

Legacy documentation

This page is preserved from the previous knowledge base and describes older Treon products and manual configuration workflows. It is kept for reference and is not maintained against current Treon Connect releases.

Article for advanced usersInformation on this page is intended for users with advanced technical knowledge.

Treon Gateway - Enable Debug Logs

Treon Gateway Treon Gateway 2 Treon Gateway in Protective Enclosure

Enabling Debug Logs

To follow this guide you will need to connect to the Gateway with SSH

In case more detailed logs are needed when troubleshooting or verifying the cloud adapters, you can enable debug logs by creating a .conf file. You will have to create a file in /opt/iotgw/conf.d with, for example, the name debug.conf with the following information:

[General]
DebugLevel = DEBUG

Use Ctrl + S to save the file and Ctrl + X to exit. After this is recommended to restart the iotgw service with the following command:

systemctl restart iotgw

Once enabled, you should go to /opt/iotgw/logs and now you will have more in-depth visualization on the logs.