Search code examples
javagoogle-app-engineloggingbulkloader

Bulk log download from GAE


I'd like to download all my logs to a file with "appcfg.py".

I don't use app.yaml, but I wrote a very simple one:

"application: myAppId 
version: 1 
runtime: java" 

I use this command:

python appcfg.py --append request_logs "app.yaml's path"  logs.txt 

And I always get:

Value 'java' for key runtime does not match expression '^python$' in 
"app.yaml's path", line 3, column 10 

What should I do to download all my logs?


Solution

  • It seems that you are using the Java runtime, so take a look at:

    http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Downloading_Logs

    And the arguments can be found here:

    http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Command_Line_Arguments