Skip to content

Instantly share code, notes, and snippets.

@micheleorsi
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micheleorsi/26c0b8fc7cc89cd015c9 to your computer and use it in GitHub Desktop.
Save micheleorsi/26c0b8fc7cc89cd015c9 to your computer and use it in GitHub Desktop.
Download logs from Google App Engine with appcfg tool
# REQUEST NORMAL LOGS
# once a day at 23:50
50 23 * * * <full-path>/appcfg.py -A <gae-application-name> -M <module-name> -V <version-name> --oauth2 --include_all --append -n 1 request_logs <full-path>/`date +\%y-\%m-\%d`.log
# REQUEST LOGS WITH WARNING AND SEVERE INFOS
# once a day at 23:50
50 23 * * * <full-path>/appcfg.py -A <gae-application-name> -M <module-name> -V <version-name> --oauth2 --include_all --append -n 1 --severity=2 request_logs <full-path>/`date +\%y-\%m-\%d`-full.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment