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
console.log('...') output in cloudwatch: 2017-09-22T15:16:30.253Z 92da2c15-9f79-11e7-a6b1-7db1fdc140ea ... logger.log('...') output in cloudwatch: ...
How can we make winston also output the request id (lambda)?
I have the following code:
'use strict' const winston = require('winston') const logger = new winston.Logger({ transports: [new winston.transports.Console()] }) logger.transports.console.level = process.env.LOGLEVEL || process.env.npm_config_LOGLEVEL || 'error' logger.transports.console.timestamp = true module.exports.logger = logger
I want to emulate logger.log to output the same way that console.log does in cloudwatch. Thanks
The text was updated successfully, but these errors were encountered:
Duplicate of #1250 – please consider upgrading to winston@3 and using the 'finish' event.
winston@3
'finish'
Sorry, something went wrong.
No branches or pull requests
console.log('...')
output in cloudwatch: 2017-09-22T15:16:30.253Z 92da2c15-9f79-11e7-a6b1-7db1fdc140ea ...
logger.log('...')
output in cloudwatch: ...
How can we make winston also output the request id (lambda)?
I have the following code:
I want to emulate logger.log to output the same way that console.log does in cloudwatch. Thanks
The text was updated successfully, but these errors were encountered: