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

structured logging #184

Open
ctcjab opened this issue Dec 4, 2024 · 1 comment
Open

structured logging #184

ctcjab opened this issue Dec 4, 2024 · 1 comment

Comments

@ctcjab
Copy link

ctcjab commented Dec 4, 2024

Adding support for json structured logging would enable supercronic users to easily have logs consumed by Datadog (and similar platforms) such that the data in each log message is properly preserved as separate fields (log level, time, message, any extra params).

I read the https://github.com/aptible/supercronic#logging docs but didn't see anything about structured logging (or otherwise customizing the log format). See also #183.

@ctcjab
Copy link
Author

ctcjab commented Dec 4, 2024

Note, not having things like the log level picked up properly means that downstream things like monitoring and alerting are harder to set up as well (e.g. when a threshold of error logs is reached).

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