Skip to content

fix: write after rotateStream destroyed - #73

Open
SunshowerC wants to merge 1 commit into
rogerc:masterfrom
SunshowerC:patch-1
Open

fix: write after rotateStream destroyed#73
SunshowerC wants to merge 1 commit into
rogerc:masterfrom
SunshowerC:patch-1

Conversation

@SunshowerC

Copy link
Copy Markdown

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
Copy Markdown

@rogerc Could you PTAL?

@rogerc

rogerc commented Jan 21, 2022

Copy link
Copy Markdown
Owner

@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