creating the log directory with sudo