Redis: How to access Redis log file

前端 未结 5 852
执笔经年
执笔经年 2020-12-13 12:10

Have Redis setup with ruby on ubuntu server, but can\'t figure out how to access its log file. Tutorial says it should be here:

/var/log/redis_6379.log
         


        
5条回答
  •  不知归路
    2020-12-13 13:00

    Check your error log file and then use the tail command as:

    tail -200f /var/log/redis_6379.log
    

    or

     tail -200f /var/log/redis.log
    

    According to your error file name..

提交回复
热议问题