开发者

app engine requests logs show all static file sizes zero byte?

开发者 https://www.devze.com 2023-01-03 03:00 出处:网络
I need to analyze app engine logs to know the bandwidth used. All requests show 0b for stati开发者_运维问答c files. How to change this behavior?I asked a related question once, google app engine reque

I need to analyze app engine logs to know the bandwidth used. All requests show 0b for stati开发者_运维问答c files. How to change this behavior?


I asked a related question once, google app engine request log breakdown and it seems they either round down or truncate for less than 1k when you use the admin site.

However, if you export the logs using appcfg.py request_logs you should be able to get a finer grained value for bandwidth used, at least it works for me with python. Note, the %b does not include request headers, so you will still see some 0's. http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Downloading_Logs

appcfg.py request_logs . logname.txt

0

精彩评论

暂无评论...
验证码 换一张
取 消