-
Notifications
You must be signed in to change notification settings - Fork 62
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
Supress log statistics INFO log --> DEBUG #93
Supress log statistics INFO log --> DEBUG #93
Conversation
Hi @reinzor Thank you for the pull request. We are discussing this change internally. Could you please clarify the reason behind this change? Are you running into issues with this being output too frequently? |
Yes, we are working on cleaning up the output logs of our system. These messages are being logged frequently and pollute the output log. |
This kind of debug information would typically be well suited on a Should work better than repetitive prints |
Thanks for the clarification. We are looking further into this. I will let you know when I have an update. |
Hi @reinzor, We discussed internally and appreciate you suggestion to reduce console output. We have decided on a solution that condenses the console output from outputLogStatistics from 20 lines using a default driver configuration to 1 line each time it is called. We did not want to fully move it off of the INFO stream as it is useful for users to rapidly verify receiver connection and if specific logs are being collected from the receiver. I'm not able to commit to this pull request due to it coming from your library. Our changes to the function outputLogStatistics that we will push are:
Does this resolve your issue of having a polluted output log? |
Thanks for coming back @novatel-applications-engineering ; this would already help but is unfortunately not sufficient for us. I agree with @Timple that incorporating this into diagnostics would be the proper solution. This would enable the user to look up these statistics when desired. It is always a matter of taste but in my opinion periodic logs from drivers (in nominal mode) should never end up in a level higher than DEBUG. |
Thanks @reinzor for the feedback. We will go ahead and apply your initially requested change. I am also updating another periodic log that gets reported of the IMU scale factors to change that from INFO to DEBUG. That should clear all of the regularly published logs in nominal mode. I am raising this request internally to also update our features request list to have a diagnostics topic also include the log statistics. |
No description provided.