Fixed non existing log file issue