psingh
psingh

Reputation: 51

how to configure redis sentinel log file location

I have got the sentinel running across hosts, but unable to find the log location. As per redis documentation : http://download.redis.io/redis-stable/sentinel.conf the conf file has no logging information.

  1. How can i enable logging for sentinel?

Upvotes: 3

Views: 8444

Answers (1)

Eduardo Cuomo
Eduardo Cuomo

Reputation: 18946

Add the following line to your configuration file (/etc/redis-sentinel.conf):

logfile "/var/log/redis/redis-sentinel.log"

Next, you can see the logs:

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

Upvotes: 3

Related Questions