Add state for log file creation