Currently the logging in the cloud run service for these apis is always shown as 'default' regardless of when we specify in the code (i.e. debug / error / etc.). Other teams / sre may have a solution.
Thor mentioned using structlog and having his code in an installable package for other teams so we can probably use that when it is ready.
This ticket is to investigate and fix this issue. We may need to relook at how we setup the logging when we init the app.
Currently the logging in the cloud run service for these apis is always shown as 'default' regardless of when we specify in the code (i.e. debug / error / etc.). Other teams / sre may have a solution.
Thor mentioned using structlog and having his code in an installable package for other teams so we can probably use that when it is ready.
This ticket is to investigate and fix this issue. We may need to relook at how we setup the logging when we init the app.
Possible useful links: https://cloud.google.com/logging/docs/setup/python