Fix for new log file creation
Minor fix