Last post i started a Smart Slack bot that use AWS Lambda. What happens though if something break in the lambda function how do find out? Every time a Lambda function run in AWS, the logs are automatically stored in CloudWatch Log
You can see these logs in your Lambda function by click on Monitor and then Logs. Each time your lambda function runs, a new log CloudWatch will be created. If your script has an error the traceback will appear here. if you put print or logging statement they will appear as a line in the log.

CloudWatch logs became super super important as i started to expand the bot functionality (in the next few post).
Leave a comment