DEV Community

Discussion on: Serverless Logs

Collapse
 
mstn profile image
Marco

Hey @Lou, thanks for your comment and the link. I was aware of that package and I was going to mention it. As far as I know, its implementation is based on the first links above (or the other way around :P).

The log-timeout middleware is useful to get warnings when a lambda times out if I understand correctly. In fact, native AWS timeout messages are quite hard to spot.

In this post, I'm saying that sometimes it is better sacrifice "logging" in order to avoid timeouts in the first place.

Collapse
 
loujaybee profile image
Lou (🚀 Open Up The Cloud ☁️)

Awesome — also congrats on your first DEV article! I'm the mod for serverless, so let me know if you have any ideas or thoughts! :)