-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
inconsistent log output format #3550
Labels
1.16-candidate
Enhancement/User
End-User Enhancement to Velero
kind/requirement
Logging
Reviewed Q2 2021
Comments
dsu-igeek
added
Enhancement/User
End-User Enhancement to Velero
P3 - Wouldn't it be nice if...
labels
Mar 9, 2021
eleanor-millman
added
the
Icebox
We see the value, but it is not slated for the next couple releases.
label
May 12, 2021
dsu-igeek
added
Reviewed Q2 2021
and removed
Icebox
We see the value, but it is not slated for the next couple releases.
labels
May 12, 2021
reasonerjt
added
kind/requirement
Logging
Reviewed Q2 2021
Enhancement/User
End-User Enhancement to Velero
and removed
Enhancement/User
End-User Enhancement to Velero
Reviewed Q2 2021
Logging
labels
May 20, 2022
Velero need to bump Line 55 in 9f0026d
to v0.31.0 or above which contains kubernetes/client-go@75fea27 which will allow us to set klog.SetLogger() which should solve this problem. |
My team's goal is to enable all logs to be in json formatting which requirement is a subset that aligns with this issue IMO. |
velero/pkg/util/logging/format_flag.go Lines 24 to 26 in 9f0026d
these flags should apply to logs coming from client-go. |
This was referenced Nov 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1.16-candidate
Enhancement/User
End-User Enhancement to Velero
kind/requirement
Logging
Reviewed Q2 2021
What steps did you take and what happened:
k8s.io/client-go
writes out logs throughk8s.io/klog{,/v2}
in a different format than the rest of the application (logfmt or json) making it more difficult to parse, example:What did you expect to happen:
logs output in a consistent format
Anything else you would like to add:
Environment:
velero version
): 1.5.3Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
requires: #8442
The text was updated successfully, but these errors were encountered: