-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Leaking listeners when 'handleExceptions: true' and 'exitOnError: false' #218
Comments
Sorry, should have added: node 0.8.17 |
Any updates on this? I'm having the same problem here :-( |
FWIW, the same error happens with exitOnError = true, node 0.8.15. I am going to take a quick look under the hood, but IANAE. |
In my case, it seems this is due to debug logging throwing stuff to the console faster than the one-time event listeners get collected. It seems to happen intermittently in my case. Perhaps if a transport is set to 'debug' winston could increase the listeners to try and prevent this, but I suspect that it is very dependent upon the latency of the transport and how hard your application is crunching CPU. Hope this helps a bit. |
See also issue #213. I am having this issue with node 0.10.5 |
I'm also having this issue with node 0.10.21 and "exitOnError = false" and "handleExceptions: true" |
Related to #327 |
Duplicate of #213 |
Happens with either 0.6.2 or master.
Test program:
Output:
The text was updated successfully, but these errors were encountered: