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

All our logs get truncated after upgrading to 2.1.0 #28

Closed
NickMihaiu91 opened this issue Nov 16, 2017 · 1 comment
Closed

All our logs get truncated after upgrading to 2.1.0 #28

NickMihaiu91 opened this issue Nov 16, 2017 · 1 comment

Comments

@NickMihaiu91
Copy link

@NickMihaiu91 NickMihaiu91 commented Nov 16, 2017

Hello,

We upgraded today from version 2.0.0 to the latest 2.1.0 and all our logs look like this:
{"level":"error","tag":"server","message":"Unhandled promise rejection: socket hang up","meta":{"error":{"message":"socket hang up","stack":"Error: socket hang up\n at createHangUpError (_http_client.js:253:15)\n at TLSSocket.socketOnEnd (_http_client.js:345:23)\n at emitNone (events.js:91:20)\n at TLSSocket.emit (events.js:185:7)\n at endReadableNT (_stream_readable.js:974:12)\n at _combinedTickCallback (internal/process/next_tick.js:80:11)\n at process._tickDomainCallback (inter

They look truncated and we get a lot of them, like 20k/hour.
We were thinking it might be because of this:
4851a17

Reverting to 2.0.0 fixed the problem.
Any ideas on what the problem in this new version is?

Thank you!

@mostlyjason
Copy link

@mostlyjason mostlyjason commented Nov 16, 2017

I believe the latest is actually 2.2.0 https://www.npmjs.com/package/node-loggly-bulk. We rolled 2.1.0 back by publishing 2.2.0. This is a known problem described on #10 and we are working to fix it. Closing this issue because it's a duplicate of #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.