in src/functions_framework/__init__.py [0:0]
def _configure_app_execution_id_logging():
# Logging needs to be configured before app logger is accessed
logging.config.dictConfig(
{
"version": 1,
"handlers": {
"wsgi": {
"class": "logging.StreamHandler",
"stream": "ext://functions_framework.execution_id.logging_stream",
},
},
"root": {"level": "WARNING", "handlers": ["wsgi"]},
}
)