You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it seems to come back to node.js file writing and Winston being an asynchronous logger.
The callback method does not work reliably for us (as noted in the issue). Adding a small delay before the process.exitdoes seem to work but feels hacky.
The text was updated successfully, but these errors were encountered:
If we call a winston log method just before
process.exit
the log message is not always written to the file.There is an open issue on Winston for this:
winstonjs/winston#228
And it seems to come back to node.js file writing and Winston being an asynchronous logger.
The callback method does not work reliably for us (as noted in the issue). Adding a small delay before the
process.exit
does seem to work but feels hacky.The text was updated successfully, but these errors were encountered: