Is logging available for Zappa Lambda hosted Django sites?

751 views Asked by At

I'm looking at moving a personal site from Heroku to Lambda using Zappa. Will persistent logs be available once I've deployed using Zappa? I've seen the Zappa tailing logs command but I'm talking about persistent logs.

2

There are 2 answers

2
deceze On BEST ANSWER

Lambda functions by default log to CloudWatch, and the Zappa tail command merely reads from that CloudWatch stream. Yes, your logs will be persistent (as persistent as you configure them to be).

0
Daniel Olson On

As mentioned in their github: By default, this will show all log items. In addition to HTTP and other events, anything printed to stdout or stderr will be shown in the logs.

and I can personally say print's will be logged.