Last active
August 29, 2015 14:13
-
-
Save micheleorsi/26c0b8fc7cc89cd015c9 to your computer and use it in GitHub Desktop.
Download logs from Google App Engine with appcfg tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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