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

Logger is blocking node.js process from exiting when batchInterval is set #5

Open
georgehaidar opened this issue Oct 14, 2016 · 1 comment
Labels

Comments

@georgehaidar
Copy link

As per description, setting batchInterval causes my node.js process to hang even though it's reached its end. The reason being is the interval timer in the underlying splunk logger is not being cleared. I think the solution is to listen to the stream's end event, flush and clear the interval timer.


Platform version: OS X 10.11.6
Framework version: v4.6.0
Environment: local
Versions:

    "bunyan": "^1.8.1",
    "splunk-bunyan-logger": "^0.9.1"
@shakeelmohamed
Copy link
Contributor

Thanks @georgehaidar this sounds like a bug. We're open to a pull request on the other repo

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

No branches or pull requests

2 participants