Skip to content
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

Surface spiffe-go SDK logs to user #8

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

strideynet
Copy link
Collaborator

Logs from the internals of the spiffe-go SDK were not being propagated the Slog logger used by the rest of the implementation. This meant that in certain failure scenarios, it appeared that aws-spiffe-workload-helper was hanging - when in fact, it was silently retrying a failed action in the background. This should help with diagnostics/troubleshooting, although, it's a little frustrating that spiffe-go does not output structured logs :(

Signed-off-by: Noah Stride <noah.stride@goteleport.com>
@strideynet strideynet merged commit 7839538 into main Dec 18, 2024
2 checks passed
@strideynet strideynet deleted the strideynet/propagate-spiffe-client-logs branch December 18, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant