1、打开redis.conf文件 2、找到 logfile 行 3、添加输入日志路径 4、启动redis,日志会自动输出到指定位置 转载于:https://www.cnblogs.com/mliu/p/10823867.html