Ignore invalid line in query.log