Reason for seeing "request socket closed" warnings?
Closed this issue ยท 8 comments
Hello, we are seeing "request socket closed" warnings coming from
Line 128 in cea8b31
However, I am ignorant as to what I'm doing wrong to create that scenario. Anything simple or obvious?
I am seeing these warnings as well
Node: 10.2.1
express: 4.16.3
bunyan-middleware: 0.8.0
Downgrading to Node 8.9.4 seems to disappear the warning. I will continue to investigate
Is the root cause
So if that's the correct behavior for the 'close' event to be emitted always, perhaps this log shouldn't be a warn
? or is it also indicative of warn
behavior?
@ksmithut In my opinion it should no longer be logged at all, as a warn
or otherwise, since it is now a "normal" event that isn't indicative of any problem or out-of-the-ordinary situation. See: https://github.com/tellnes/bunyan-middleware/pull/22/files
I opened that PR 2 weeks ago now, and no sign of any activity from the project owner ๐ค
Merged the pull request, so closing this.