2
votes

The log messages in the log viewer in the admin console look like this:

1.2.3.4 - - [13/Nov/2010:06:16:33 -0800] "GET / HTTP/1.1" 200 2121 "http://referrer.example.com" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)" "www.example.com" ms=30 cpu_ms=167 api_cpu_ms=120 cpm_usd=0.004975

However when I use the following to download my request logs:

appcfg.py --num_days=0 --include_vhost request_logs appdir requests.txt

What is written to the file looks like this:

1.2.3.4 - - [13/Nov/2010:06:16:33 -0800] "GET / HTTP/1.1" 200 2121 "http://referrer.example.com" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)" "www.example.com"

Is there a way to download that missing timing information with my logs?

Thanks.

1

1 Answers

4
votes

Use the --include_all flag too.

appcfg.py --num_days=0 --include_vhost --include_all request_logs . requests.txt

edit:

If you would also like to download the logging messages, use --severity=0.

appcfg.py --num_days=0 --include_vhost --severity=0 --include_all request_logs . requests.txt