The parse-ppa-apache-access-logs.py script should report an error parsing a log line just once

Bug #2032180 reported by Guruprasad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When the parser encounters an invalid line, it throws an error at that point and does not proceed to parse the remaining lines in the log file. On subsequent invocation of the script via a cron job, it resumes parsing at the same line and fails again and again till the log file containing the bad log line is rotated out and is no longer on disk.

Fix this to parse all the log lines in a file even when there are a few invalid lines in it, and report the error just once.

Guruprasad (lgp171188)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.