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

UDP Server Impl fails silently #18

Open
atduarte opened this issue Apr 19, 2017 · 1 comment
Open

UDP Server Impl fails silently #18

atduarte opened this issue Apr 19, 2017 · 1 comment

Comments

@atduarte
Copy link

If for some reason the Syslog Server is not able to start, for example by missing permissions on address binding, there's no way to detect it, since the UDP implementation "swallows" the exception.

See https://github.com/graylog-labs/syslog4j-graylog2/blob/master/src/main/java/org/graylog2/syslog4j/server/impl/net/udp/UDPNetSyslogServer.java#L66.

Is there a reason behind this design choice?

@joschi
Copy link
Contributor

joschi commented Apr 20, 2017

@atduarte This is a relict from the original source code.

We're only using some parts of syslog4j in Graylog and the server implementations are not part of that and we have no interest in fixing issues in these parts ourselves.

If you intend to use the syslog4j server implementations, I recommend switching to another fork of syslog4j, e. g. https://github.com/NessComputing/syslog4j

This being said, feel free to provide a pull request to fix this issue.

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

2 participants