-
Notifications
You must be signed in to change notification settings - Fork 224
improve: remove misleading log message #2891
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
Conversation
This warn message is logged even if missing config is expected Signed-off-by: Attila Mészáros <[email protected]>
I don't think this is the appropriate fix. The appropriate fix would be to override |
The problem now is that this warning is logged always, even if everything is ok from JOSDK perspective. I think it is still better to remove it and not confuse users, and finetune it later. |
See #2892, the warning should not be output anymore with that implementation |
What I fail to see how this message helps the user. If any we should have such log message maybe on debug level that helps development / troubleshooting, but not on warning level. But in addition to that, mainly we should have a test for the API, so configurations are correctly initialized, and would remove this log message. @metacosm in case could you explain how this help pls? thank you! cc @xstefank |
The use case is that not all |
Yes, throwing exception in some cases would be fine, but we should not log warning. (In addition to that context of josdk it is expected that this method returns null in some cases.) |
And with the implementation in the other PR, no logging occurs. |
commented there, I don't see what is the problem we are solving with that PR. Pls choose where to continue the discussion :) |
replaced by: #2892 |
This warn message is logged even if missing config is expected
Signed-off-by: Attila Mészáros [email protected]