We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using UnixSocketTransport without specifying the socket type, it defaults to socket.SOCK_DGRAM and never attempts socket.SOCK_STREAM.
UnixSocketTransport
socket.SOCK_DGRAM
socket.SOCK_STREAM
This is where the default value is set: https://github.com/jobec/rfc5424-logging-handler/blob/master/rfc5424logging/handler.py#L93
And this is the code that means that if a default is provided, it won't try the alternative even if the default failed: https://github.com/jobec/rfc5424-logging-handler/blob/master/rfc5424logging/transport.py#L152
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
UnixSocketTransport
without specifying the socket type, it defaults tosocket.SOCK_DGRAM
and never attemptssocket.SOCK_STREAM
.This is where the default value is set: https://github.com/jobec/rfc5424-logging-handler/blob/master/rfc5424logging/handler.py#L93
And this is the code that means that if a default is provided, it won't try the alternative even if the default failed: https://github.com/jobec/rfc5424-logging-handler/blob/master/rfc5424logging/transport.py#L152
The text was updated successfully, but these errors were encountered: