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

Use SafeSysLogHandler instead of SysLogHandler #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelact
Copy link

@michaelact michaelact commented Jul 14, 2021

Premise

As I see, this python script hasn't updated for 6 years, and maybe I can improvise this script from some modules these days. I had an Error like this [Errno 32] Broken pipe:

Macro: int EPIPE

“Broken pipe.” There is no process reading from the other end of a pipe. Every library function that returns this error code also generates a SIGPIPE signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see EPIPE unless it has handled or blocked SIGPIPE.

So, after a few days of searching for the root cause of this error, yesterday I found a python module that can solve this problem. Yes! As you can see on this Pull Request Title, safe_syslog_handler.

Changes

Hopefully it can be useful and thank you :).

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