resilient to invalid log line