Apache log file parser written in Python