create log directory if not exists