-
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
BIAv2 error log should say which plugin it came from (when empty). #6512
Comments
@kaovilai |
We don't know where but it seems like some backup item action was logging empty strings. Since it looks like this function knows what plugin name is, it's helpful to include plugin name in the log. |
This is specifical to the returned error message by function I'll make update to make sure the BIAv2's plugin name included. |
fixes vmware-tanzu#6512 Signed-off-by: Daniel Jiang <[email protected]>
Commit here LGTM reasonerjt@be4c636 As to reproducing the issue, I'm not sure I remember how we got here. |
fixes vmware-tanzu#6512 Signed-off-by: Daniel Jiang <[email protected]>
fixes vmware-tanzu#6512 Signed-off-by: Daniel Jiang <[email protected]>
fixes vmware-tanzu#6512 Signed-off-by: Daniel Jiang <[email protected]>
fixes vmware-tanzu#6512 Signed-off-by: Daniel Jiang <[email protected]>
Describe the problem/challenge you have
It is possible to end up with log that looks like this.
velero/pkg/controller/backup_controller.go
Lines 717 to 718 in 55987c3
While having a full logs with other log levels could potentially help identify the problematic plugin with empty error log, it would be better to have level=error logs contain all the necessary info to debug which plugin is outputting this empty error log.
Describe the solution you'd like
Anything else you would like to add:
Environment:
velero version
):kubectl version
):/etc/os-release
):Vote 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.
The text was updated successfully, but these errors were encountered: