Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SM-1030: Document on how to debug and troubleshoot mqtt offline buffering #105

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

zakharenkodmytro
Copy link
Contributor

  • updated README.md for mqtt part

Copy link

linear bot commented Jul 31, 2024

@zakharenkodmytro zakharenkodmytro marked this pull request as ready for review July 31, 2024 15:06
For troubleshooting purposes, the edge-network can be started with debug logs enabled for mqtt client.
To enable debug logs for paho MQTT client we need to uncomment next line in the code:
```go
// Set the logger for the MQTT client. Uncomment to enable debug logging
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahould this be part of the env setup you did for build flag?

Copy link
Contributor Author

@zakharenkodmytro zakharenkodmytro Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it might be separate build flag from main.ENV=dev, since mqtt debug it is too verbose imo.

@zakharenkodmytro zakharenkodmytro merged commit 35a4fbc into dev Jul 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants