My python application on the Google App Engine (standard environment) writes some logs to stdout
.
I used to be able to see them on the Logs Viewer but not anymore.
The default options under the "Log name" drop down menu do not show stdout
, and I have tried to manually add logName="projects/airlib-main/logs/stdout"
into the Query Builder but it doesn't find anything.
I solved my problem by NOT using basicConfig
to configure the logs and rather instantiate my own loggers and use them throughout the application. The python documentation says that < This function does nothing if the root logger already has handlers configured > and maybe the Google App Engine does that now. My application used to produce logs properly so there might have been a change recently in the way the Google App Engine works in this environment.