Remove old log lines when the log line limit is hit