There is some official documentation out there on this topic, but I didn’t find it particularly clear, so I decided to share my setup. The production.py should roughly look like this: from google.cloud import logging# StackDriver setup client = logging.Client() # Connects the logger to the root logging handler; by default # this captures all logs at INFO level and higher client.setup_logging()LOGG