protect against insanely large number of log lines