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
We have been using winston-cloudwatch version 1.5.0 and recently upgraded to version 3.0.0
It used to logs in console and cloudwatch both. But now it logs all infos in cloudwatch and only errors in console. What can we do to log again in both cloudwatch and console?
Do i need to create like this now with latest version to log in both cloudwatch and console?
const logger = winston.createLogger({
transports: [
new WinstonCloudWatch({
logGroupName: 'testing',
logStreamName: 'first'
}),
new winston.transports.Console()
]
});
We have been using winston-cloudwatch version 1.5.0 and recently upgraded to version 3.0.0
It used to logs in console and cloudwatch both. But now it logs all infos in cloudwatch and only errors in console. What can we do to log again in both cloudwatch and console?
winston.add(new WinstonCloudWatch({
logGroupName: 'testing',
logStreamName: 'first'
}));
The text was updated successfully, but these errors were encountered: