-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use internal logging when context available #4714
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
Use internal logging when context available #4714
Conversation
|
Hi @ardaguclu. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
72710f8 to
9a6b82e
Compare
9a6b82e to
40e1de4
Compare
Codecov Report
@@ Coverage Diff @@
## master #4714 +/- ##
==========================================
- Coverage 41.41% 41.40% -0.01%
==========================================
Files 105 105
Lines 9360 9361 +1
==========================================
Hits 3876 3876
- Misses 5038 5039 +1
Partials 446 446 |
|
/assign @haircommander |
|
/ok-to-test thanks for taking this on @ardaguclu ! I think it may benefit you to rebase on top of #4678, as I believe there are conflicts |
|
LGTM, but needs a rebase, which I'd say to wait for @saschagrunert's feedback (most likely next week, due to the easter break) before doing it. |
|
LGTM |
40e1de4 to
abfca3f
Compare
Signed-off-by: Arda Güçlü <[email protected]>
abfca3f to
975ffc6
Compare
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/hold |
|
/retest |
|
/override ci/openshift-jenkins/critest_fedora gh actions critest passed |
|
@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/critest_fedora, ci/openshift-jenkins/critest_rhel DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
| It("should not error log", func() { | ||
| // Given | ||
| // When | ||
| log.Errorf(ctx, msg) |
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.
nit: I don't think this function does what we want it to
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/override ci/openshift-jenkins/critest_rhel |
|
@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/critest_fedora, ci/openshift-jenkins/critest_rhel DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/override ci/openshift-jenkins/critest_fedora |
|
@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/critest_fedora, ci/openshift-jenkins/critest_rhel DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/override ci/prow/e2e-gcp |
|
@haircommander: Overrode contexts on behalf of haircommander: ci/prow/e2e-gcp DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@ardaguclu: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
As stated in the issue,
internal/logpackage stores more information than logrus and functions including context parameter should useinternal/logpackage instead logrus.Which issue(s) this PR fixes:
Fixes #4660
Does this PR introduce a user-facing change?