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
Hello,
Is there an option to log to cloudwatch only what is logged with Pino logger ? It seems that my calls to console.log are also logged to CloudWatch.
The text was updated successfully, but these errors were encountered:
Unfortunately this is the 'feature' of Pino, that is the transports are simply taking stdin and sending to CloudWatch. It keeps it simple, which has its drawbacks.
So any console.logs() would be transferred.
You might be able to use console.error() instead of console.log() since it wouldn't go to the stdin of pino-cloudwatch.
Hello,
Is there an option to log to cloudwatch only what is logged with Pino logger ? It seems that my calls to console.log are also logged to CloudWatch.
The text was updated successfully, but these errors were encountered: