command line request_logs - what happened to "include_all" option/performance data?

75 views
Skip to first unread message

li

unread,
Jun 14, 2011, 8:49:07 AM6/14/11
to Google App Engine
Hi,

I'm trying to use the command line in order to download my log files
from the GAE.
I saw that there should be an option to download the log files with
the performance information (cpu etc.) using the "include_all" option
(see http://code.google.com/p/googleappengine/issues/detail?id=2416)
I tried to use this with the Java command line options, and the
include_all option is not recognized by the appcfg.cmd.

How do I get the performance information when downloading the logs?

Thanks for the help

Robert Kluin

unread,
Jun 17, 2011, 4:55:45 AM6/17/11
to google-a...@googlegroups.com
Hi,
You might also carefully check the output of "appcfg.sh help
request_logs". Perhaps it or a similar option is available.

If not, this option is in the Python appcfg.py. Probably not ideal,
but you could try using it to download the logs.

Robert

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>

Renan Mobile

unread,
Jun 22, 2011, 11:28:01 PM6/22/11
to google-a...@googlegroups.com
Hi! I try with "appcfg.py" and have succeed! I'll tell what i did:

1) Create a app.yaml file (the basic):

application: appid

version: 1

runtime: python

api_version: 1


handlers:

- url: .*

  script: main.py

2) Copy the app.yaml to the war/ folder (in the root)
3) Install the Google App Engine SDK for Python
4) run this command (change "war/" by the full path and the "new.txt" too):
appcfg.py --include_all --severity=1 --num_days=1 request_logs war/ new.txt
5)The result will be:

ip.ip.ip.ip - - [21/Jun/2011:16:49:52 -0700] "GET /logingoogle HTTP/1.1" 302 319 "https://appid.appspot.com/entrie/9712284FB271343EF1E3D93DFC18D618.cache.html" "Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe)" "appid.appspot.com" ms=27 cpu_ms=1517 api_cpu_ms=0 cpm_usd=0.042216


I really hope this help you. Because i know what is need help and none can help.

So, if u know how to upload production data to the Java development server, please help me! Look my problem below:

I've never could upload data to java SDK development server. Always get the Authentication Failed ERROR:
[Errno 54] Connection reset by peer
[INFO    ] Authentication Failed

I tried use the Python SDK... but when ask for username and pass always get this Authentication Failed ERROR!
I tried logging as Administrator in the development server but its give me the same Authentication ERROR. 

I've never found a solution for that, look this discussion too: https://groups.google.com/d/topic/google-appengine-java/mEwbR0fBpE4/discussion 

Please! if someone has solved this issue, give me a hand.

Thanks so much!


2011/6/17 Robert Kluin <robert...@gmail.com>



--
Atenciosamente,

-----
Presidente Renan Franca
____
Renan Mobile ltda: http://renanmobile.com - Soluções em Dispositivos Móveis (Smartphones) com integração via web.
Soluções em:
        Android (Smartphones);
        Google Web Toolkit (Web)
;

Reply all
Reply to author
Forward
0 new messages