-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
MQTT Broker - Mosquitto Message Logging #1366
Comments
Add to your mosquitto.conf:
This will add the contents of the packet payload to the log file. Works for non-binary data....not sure what happens with binary data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to log MQTT Broker Mosquitto events such as messages published to all channels, subscriptions, client connections/disconnections and errors to a log file with a time stamp and then have program insert this into a database either SQL in encrypted form?
If so, how could this be achieved?
What I have tried?
I have subscribed to the topic $SYS/broker/# ,able to get only connection logs,My query here is how can i get what message is sent and received from broker?
Reference Link : http:https://www.steves-internet-guide.com/mosquitto-logging/
The text was updated successfully, but these errors were encountered: