pageperformancereport doesn't handle apache timestamps with []
Bug #1049049 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad Developer Utilities |
Invalid
|
Critical
|
Corey Goldberg |
Bug Description
e.g.
"""91.189.89.28 login.launchpad.net - [08/Sep/
Fails, due to the code not handling the [] around the timestamp.
Changed in lp-dev-utils: | |
assignee: | nobody → Corey Goldberg (coreygoldberg) |
To post a comment you must log in.
I can't reproduce locally.
are you using the correct ini file in lp:lp-dev-utils? acccess. ini" (extra "c" in access, typo?)
"page-perf_
however,
it chokes on that line if you aren't specifying an ini file with the following section:
[parser]
log_format=access
for example, using the default ini, it would choke on that line:
cgoldberg@ zerodown: ~/code/ lp-dev- utils$ python page-performanc e-report. py access_sample.log -c page-perf_ acccess. ini zerodown: ~/code/ lp-dev- utils$ python page-performanc e-report. py access_sample.log Malformed line '91.189.89.28 login.launchpad.net - [08/Sep/ 2012:23: 08:53 +0000] "GET / HTTP/1.1" 200 657 "-" "python- openid/ 2.2.5-fix103437 6 (linux2) Python-urllib/2.6" 10072' (Invalid timestamp '- [08/Sep/ 2012:23: 08:53') zerodown: ~/code/ lp-dev- utils$
cgoldberg@
ERROR:root:
cgoldberg@
-Corey