We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Winston ver: 3.0.0 Node ver: 8.9.4 OS: Linux Language: ES6
When option exitOnError is set to true, Winston is not logging to files:
const path = require('path'); const { createLogger, transports } = require('winston'); const wLogger = createLogger({ exitOnError: true, transports: [ new transports.File({ filename: path.join(__dirname, 'logs', 'combined.log') }) ], exceptionHandlers: [ new transports.File({ filename: path.join(__dirname, 'logs', 'exceptions.log')}) ] }); throw new Error('Something failed at startup');
The text was updated successfully, but these errors were encountered:
This is a known issue, see e.g. #1289 and #1355 -- hopefully we get a fix into the next release. Thanks for reporting!
Sorry, something went wrong.
No branches or pull requests
Winston ver: 3.0.0
Node ver: 8.9.4
OS: Linux
Language: ES6
When option exitOnError is set to true, Winston is not logging to files:
The text was updated successfully, but these errors were encountered: