log.txt made empty