remove max_leak_count const
better error handling for invalid log lines