dateFile error handling fix#1097
Conversation
There was a problem hiding this comment.
Not so sure if we should implement the alive to prevent further writing.
Perhaps should keep to the current behavior for the time being.
EDIT: Should be fine since the stream is closed anyway. The alive might save some processing (such as removing color).
The stream is closed when the
'error'event is emitted unless the autoDestroy option was set tofalsewhen creating the stream.
(src: https://nodejs.org/api/stream.html#event-error)
Similar to #529 and #1089, the dateFileAppender causes the Node.js process to exit as there is no listener for its |
Make the same that "file" appender does