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

perl/lua/python destinations: handle errors #66

Open
faxm0dem opened this issue Jul 3, 2014 · 0 comments
Open

perl/lua/python destinations: handle errors #66

faxm0dem opened this issue Jul 3, 2014 · 0 comments

Comments

@faxm0dem
Copy link
Contributor

faxm0dem commented Jul 3, 2014

It would be awesome if we could have some way to handle errors.
For instance for perl, we could have new callbacks on_error which would fire up in case of a non-true return value, with the callback function as argument. By default this callback could be to throw an error. Then syslog-ng could restart the process after a configurable time. Of course if flow-control is on it would be nice not to lose messages during that time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants