-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: move the logging message where it's effective #4171
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4171 +/- ##
==========================================
+ Coverage 82.97% 82.99% +0.02%
==========================================
Files 221 221
Lines 28568 28567 -1
==========================================
+ Hits 23703 23709 +6
+ Misses 4865 4858 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
8e0da4a
to
f385b2d
Compare
Move the message after the logger has been configured, so it actually gets printed. Eliminate redundant message that outputs internal vmm crate version 0.1.0. Fixes: 96ed457, 332f218 Signed-off-by: Pablo Barbáchano <[email protected]>
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.
Thanks for the PR. I have some suggestions for the changelog. Let me know what you think.
2ecbc18
to
2b5e4bc
Compare
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.
sorry to be pedantic but let me know if it sound better 😊
show-log-origin was turned on by the --show-level option. Use the correct flag to enable it. Fixes: 332f218 Signed-off-by: Pablo Barbáchano <[email protected]>
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.
Thanks for the changes. LGTM
Move the message after the logger has been configured, so it actually gets printed.
Eliminate redundant message that outputs internal vmm crate version 0.1.0.
Fixes: 96ed457, 332f218
Changes
It can happen that the version printed is v0.1.0, instead of the expected version.
Reason
This behavior may confuse users of the logs.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.