Jets Tutorial Debugging Logs Part 3: AWS Lambda Ruby
In this video, we continue the tutorials on the Jets Ruby Serverless Framework that adds Ruby support to AWS Lambda. We’ll cover something that is pretty important to know as a software developer: debugging. With Jets it’s pretty straightforward to look at the debugging logs both locally and remotely. Locally, the logs show up with the local running server. Remotely, the logs show up in CloudWatch Logs: available both on the AWS CloudWatch Logs console and the AWS Lambda console.
Lambda Console
Here’s what an error looks like in the Lambda console:
Summary of What We’ll Cover
- Breaking the App Locally by calling
raise "the roof"
- Checking out the log output locally
- Breaking the App Remotely by calling
raise "my kids"
- Deploy the App
- Checking out the log output on AWS CloudWatch logs and the AWS Lambda console
More info
Thanks for reading this far. If you found this article useful, I’d really appreciate it if you share this article so others can find it too! Thanks 😁 Also follow me on Twitter.
Got questions? Check out BoltOps.
Originally published at https://blog.boltops.com on September 9, 2018.