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

Add structured logging option #35

Open
Steffen911 opened this issue Jul 16, 2024 · 0 comments
Open

Add structured logging option #35

Steffen911 opened this issue Jul 16, 2024 · 0 comments

Comments

@Steffen911
Copy link

What

We would like to configure structured logging for the gtoken tool. I.e. we'd expect log messages to be optionally JSON formatted with a message, a severity, and a timestamp. This could be achieved by replacing log with slog.

Why

In production deployments all messages are currently classified as error given that there is no auxiliary information. Hence, our log alerting consistently triggers on messages from gtoken.

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

No branches or pull requests

1 participant