在Redis.conf中添加配置(如果配置已存在就修改):[plain] view plain copy loglevel notice#日志等级 logfile "/usr/redis/log/redis.log"#日志保存路径