Comment 9 for bug 622765

Revision history for this message
Julian Edwards (julian-edwards) wrote :

It seems ok on dogfood, albeit with some odd output

"Finished parsing <closed file '/srv/launchpad.net/ppa-apache-logs/ppa.dogfood.launchpad.net.access-log', mode 'r' at 0xa0fff50>"

for example. I've pasted a few runs of the code below.

launchpad@mawson:/srv/launchpad.net/codelines/trunk$ cronscripts/parse-ppa-apache-access-logs.py -vv
2010-09-07 14:13:49 DEBUG Cronscript control file not found at /srv/launchpad.net/codelines/trunk/cronscripts.ini
2010-09-07 14:13:49 DEBUG Enabled by DEFAULT section
2010-09-07 14:13:49 INFO Creating lockfile: /var/lock/launchpad-parse-ppa-apache-logs.lock
2010-09-07 14:14:28 INFO Parsed 1000000 lines resulting in 20 download stats.
2010-09-07 14:14:29 INFO Finished parsing <closed file '/srv/launchpad.net/ppa-apache-logs/ppa.dogfood.launchpad.net.access-log', mode 'r' at 0xa0fff50>
2010-09-07 14:14:29 INFO Done parsing apache log files
2010-09-07 14:14:29 DEBUG Removing lock file: /var/lock/launchpad-parse-ppa-apache-logs.lock
launchpad@mawson:/srv/launchpad.net/codelines/trunk$ cronscripts/parse-ppa-apache-access-logs.py -vv
2010-09-07 14:14:41 DEBUG Cronscript control file not found at /srv/launchpad.net/codelines/trunk/cronscripts.ini
2010-09-07 14:14:41 DEBUG Enabled by DEFAULT section
2010-09-07 14:14:41 INFO Creating lockfile: /var/lock/launchpad-parse-ppa-apache-logs.lock
2010-09-07 14:15:17 INFO Parsed 1000000 lines resulting in 20 download stats.
2010-09-07 14:15:18 INFO Finished parsing <closed file '/srv/launchpad.net/ppa-apache-logs/ppa.dogfood.launchpad.net.access-log', mode 'r' at 0xa0fff50>
2010-09-07 14:15:18 INFO Done parsing apache log files
2010-09-07 14:15:18 DEBUG Removing lock file: /var/lock/launchpad-parse-ppa-apache-logs.lock