#!/usr/bin/env python3 """Count ERROR lines in a log file and rank the most frequent error messages. Usage: python3 count_errors.py [--top N] A line is an error when its level token (the 3rd field in a `