Thursday 16 March 2017

Change log format of Cloudwatch logs from Lambda (Node.js)

If I do console.log('message') in my code, it shows up in Cloudwatch as
2017-03-16T18:58:21.823Z 863c835c-0a7a-11e7-9140-e5018d6e5029 message.

Is there any way to remove the automatic formatting so that Cloudwatch just displays the argument I pass to console.log?



via maniciam

No comments:

Post a Comment