Request logs for all versions of the Google App Engine application

Does anyone know how to query all the logs of a Google App Engine application? For all the logs, I mean all the application version logs.

We upgrade our application every time we deploy. I have a script that pulls log files every 30 minutes for some kind of offline analytics.

This is what my script is calling right now. appcfg.py --append --num_days = 0 --include_all request_logs / opt / gae / appname // var / log / gae / appname.log

These are not all application version log files, but only the version specified in the /opt/gae/appname/app.yaml file. The problem is that everything in this app.yaml file may not be alive, but rather still in development.

It would be nice if we had the flag --version = 0, which pulled out the logs for all versions, for example, for -num_days = 0.

+6
source share
1 answer

You can get the logs using LogService Api , see the version_ids parameter. I am sure you can modify appcfg.py to download all version logs.

You can add a problem with this feature at http://code.google.com/p/googleappengine/issues/list .

+2
source

Source: https://habr.com/ru/post/920468/


All Articles