Fixed Log File Archiving

Fixed log file archiving