Forums

How is flask logging set up?

Hi, I'm trying to debug some issue with setting up logging (to Google Cloud Logging) with Flask. On my local development setup it works without issues, but it does not work on Pythonanywhere.

There are some mentions on the forum, that on PA logging has a some special setup.

Could you give some more details on what exactly it is configured?

If you print to stderr in your web app, it will appear in your error log.