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

fix: write after rotateStream destroyed #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SunshowerC
Copy link

should not write when rotateStream has been destroyed.
It would fix this bug: winstonjs/winston-daily-rotate-file#226

should not write when rotateStream has been destroyed, avoiding this case: winstonjs/winston-daily-rotate-file#226
@privateOmega
Copy link

@rogerc Could you PTAL?

@rogerc
Copy link
Owner

rogerc commented Jan 21, 2022

@SunshowerC thanks for the PR, however this seems to be an issue with process specific logging rather than routing all logging through the parent process. Just silencing the error is not really a good fix. Silencing the error discarding the data that should be logged and not deal with the root cause is not what users would expect.

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

Successfully merging this pull request may close these issues.

3 participants