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
Enhance and simplify logging guide #541
Conversation
@jamezp, any objections to merging this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually see other things I'd like to change in here :) Would you prefer I make a PR to update this in general?
log.trace("called method with: " + name); | ||
} | ||
|
||
log.trace("called method with: {}", name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't quite correct. For a format like this it needs to be tracev
. However, I'd suggest using:
log.tracef("called method: %s", name);
@jamezp I agree it's better you open a separate PR to adjust the content. |
Let me know what you think about #542 @hpehl. The plugin configuration could remove. However, it won't work out of the box the way that is currently shown. We might need a more uniform approach in general to that part of the message though. |
I've put the 'hold' label on this due to the discussion around #542. The label is just to make the fact there's an ongoing 'blocking' discussion more visible when looking at the PR queue. |
Fixes #540