manual log rotation check minor formatting fix