log.reader: clean up and change log file