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

Allow protocol to be configured, so either UDP or TCP sockets can be used #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

KronicDeth
Copy link
Contributor

This is a big change. If you don't want to include (and have to maintain) TCP support in your project, that's fine, I'll just keep using it from my fork on github.

@marcelog
Copy link
Owner

Hi!

Thanks for the contribution :) I'd love to have this, could you first make sure that all the tests pass with the previous elixir versions? I'll try to look this in depth in the following days. Thanks!

@KronicDeth
Copy link
Contributor Author

What version range do you want me to test on? I was running this on 1.2.5

@marcelog
Copy link
Owner

Hi!

The travis.yml file contains the versions that Travis is testing on, and you can see the build errors by clicking on "Details" above, the tests are run automatically with every push to the branch where this pull comes from.

@KronicDeth
Copy link
Contributor Author

Sorry, for the long delay. I was pulled off onto other projects not using the logger.

If the initial (TCP) connection to the logging server fails, use the
same error recovery as with disconnect: log the message to stderr.
@KronicDeth
Copy link
Contributor Author

I added fda5517 after we found issues with not having the disconnect recovery also applied to startup: there were cases where our Kibana instance was down we when deployed the app and it would stop the app because the logger kept dying.

@marcelog
Copy link
Owner

Thank you @KronicDeth for the follow up and for updating this pull!

@KronicDeth
Copy link
Contributor Author

@marcelog it looks like one of the tests failed with an EADDRINUSE. I haven't been able to eliminate those errors from the tests reliably even with reuseaddr. You'll have to hit rebuild in travis for me to see if the error is transient.

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.

2 participants