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

Option to write logs to syslog #27

Open
rsyring opened this issue Dec 18, 2018 · 0 comments
Open

Option to write logs to syslog #27

rsyring opened this issue Dec 18, 2018 · 0 comments

Comments

@rsyring
Copy link

rsyring commented Dec 18, 2018

I'd really like to see an option that would cause gathered data to also be written to syslog. In our case, we write everything to syslog and then forward syslog to a log aggregator. So this would be a great way to get success messages into a place that they can be reviewed if needed while also getting Sentry alerts for known errors.

Bonus points for an option to log as JSON:

cron-sentry --syslog ...
# same as the above
cron-sentry --syslog=plain
# log as json
cron-sentry --syslog=json

If you are interested in this option, I could most likely submit a PR that does the heavy lifting.

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