Use iterator to parse log lines for future change