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

Move Paho Client Log Messages into Log at Same Level #369

Merged
merged 3 commits into from
Mar 25, 2021

Conversation

krkeegan
Copy link
Collaborator

Proposed change

Logging of the Paho Client was previously available through a somewhat hidden log level of 5. This means that Paho Error messages were only visible in the log if the logging level was at 5 or lower.

This change moves all Paho Client log messages into the log at their defined level. So if a user has Error messages enabled
Paho Error messages will appear in the log.

The one exception, is that the Paho Client logs ping messages at the debug level, which is a little verbose I think for our needs.
So all logging of ping messages have been moved to level 5.

Added notes to the config example about the level 5 logging level.

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass.
  • Code documentation was added where necessary

If user exposed functionality or configuration variables are added/changed:

  • Documentation updated in config example to note log level 5

Logging of the Paho Client was previously available through a
somewhat hidden log level of 5.  This means that Paho Error
messages were only visible in the log if the logging level was
at 5 or lower.

This change moves all Paho Client log messages into the log at
their defined level.  So if a user has Error messages enabled
Paho Error messages will appear in the log.

The one exception, is that the Paho Client logs ping messages at
the debug level, which is a little verbose I think for our needs.
So all logging of ping messages have been moved to level 5.

Added notes to the config example about the level 5 logging
level.
@krkeegan krkeegan merged commit 5ac51b9 into TD22057:dev Mar 25, 2021
@krkeegan krkeegan deleted the MQTT_Logging branch March 25, 2021 21:04
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.

1 participant