-
Notifications
You must be signed in to change notification settings - Fork 119
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
Winston-syslog doesn't handle connection loss? #145
Comments
Any idea on how to solve handle this? |
Also having this issue |
Just an idea, but maybe try/catch and reconnect at the place in the code that is sending it across the closed connection? |
@wbt Which references your package / uses some of your code at a guess ? We are not losing connection to logspout on dokku with this as the papertrail transport in the setup. Happy to share the setup if it is of interest in closing this issue / not wanting to detract from your library in any way. |
Don't worry about detracting - if someone else makes a more well-maintained library that meets folks' needs, please link away |
I'm currently using Winston-syslog to send to Papertrail, but they have a policy that during a certain inactivity period the connection is closed. It seems that winston-syslog doesn't notice a loss of connection and if my app doesn't send logs for an hour or so, it completely breaks because the TCP connection gets closed. Am I perhaps missing something?
The text was updated successfully, but these errors were encountered: