learning-website-framework1-12 Exercise 3: Watch the Logs ==================================================================== After launch, the server log is your best monitor: it shows which old addresses people still ask for (404), whether redirects are working (301), and errors (5xx). Write a summariser for Apache's "combined" log format. Save as top404.py (with no argument it runs on a small SYNTHETIC sample; give it a log file path to run on a real log): import re, sys from collections import Counter # Apache "combined" log format: # host ident user [time] "METHOD /path HTTP/x" status bytes "referer" "agent" LINE = re.compile(r'^(?P\S+) \S+ \S+ \[(?P