Adding root path and a dummy log file in log directory so that log directory does not get deleted