Downloading logs bug?

12 views
Skip to first unread message

DarkCoiote

unread,
Apr 23, 2009, 10:11:26 AM4/23/09
to Google App Engine
I'm trying to download my app logs but I having some problems:

first:
here http://code.google.com/appengine/docs/python/tools/uploadinganapp.html
says:
"By default, the command downloads log messages from the current
calendar day (since midnight Pacific Time) with a log level of INFO or
higher (omitting DEBUG level messages)."


and in the appcfg help:
--severity=SEVERITY Severity of app-level log messages to get. The
range
is 0 (DEBUG) through 4 (CRITICAL). If omitted,
only
request logs are returned.


second:
with -n set to 0 I should get all available logs
"-n NUM_DAYS, --num_days=NUM_DAYS
Number of days worth of log data to get. The cut-
off
point is midnight UTC. Use 0 to get all
available
logs. Default is 1, unless --append is also
given;
then the default is 0."

what defines "available" here? It is certainly not all logs


How should I do it?

Jeff S (Google)

unread,
Apr 23, 2009, 9:21:39 PM4/23/09
to google-a...@googlegroups.com
Hi DarkCoiote,

The admin console has a fixed amount of space set aside for your logs, so the time window which the online logs covers depends on the frequency and size of the app's log entries. If you do want to keep all of your logs, you'll could periodically run request_logs with the --append flag to keep a running log file.

Happy coding,

Jeff
Reply all
Reply to author
Forward
0 new messages