How do I send information to CloudWatch logs?

I have a pretty complex series of lambda functions that trigger one another. Each one is also fairly complex in itself. It’d be great to be able to send arbitrary log lines to the dynamically created CloudWatch logs to provide more info of where functions are during execution and at the time of failure, should that occur. Or maybe there’s a better way to log using lambda. I’m fairly new to these AWS products.

What’s the best/recommended way to do this?

…turns out it watches puts automatically. Ignore this terribly ignorant thread. I’ll leave this open though, in case this is helpful for someone else in the future :joy:

1 Like