Does anyone know how to request all logs of a Google App Engine application? By all logs, I mean all app versions logs.
We increment the version of our app with every deployment. I have a script that pulls the log files every 30 minutes for some offline analytics.
This is kinda 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
This does not get all app versions logs files, but only the version that's specified in the /opt/gae/appname/app.yaml file. The problem is that whatever is in that app.yaml file might not be live, but rather still in development.
It would be nice if we had --version=0 flag that pulled the logs for all the versions, like it does for --num_days=0.
You can fetch the logs using the LogService Api, see parameter
version_ids
. I'm sure you could modify appcfg.py, to download all version logs.You could add an issue asking for this feature at http://code.google.com/p/googleappengine/issues/list.