create log directory