diff options
author | Thomas Fline <fengtan@users.noreply.github.com> | 2023-04-04 08:25:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 15:25:52 +0300 |
commit | 219e85ff3e7b3dbc9c77cb2eaff64772680a3129 (patch) | |
tree | ecc012cd7308404c7d4c881ac722cae2dc4cdb25 /sentinel.conf | |
parent | 74b29985ced0d185dd15bde9888f93608ba57c14 (diff) | |
download | redis-219e85ff3e7b3dbc9c77cb2eaff64772680a3129.tar.gz |
Document syslog directives in sentinel.conf. (#11889)
Redis supports syslog integration via these directives, documented in redis.conf.
While these directives are not documented in sentinel.conf, they do work with Redis-Sentinel.
It took me a while to realize this, adding them to make it clear.
Diffstat (limited to 'sentinel.conf')
-rw-r--r-- | sentinel.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf index 0f0265c97..60eb9ff4d 100644 --- a/sentinel.conf +++ b/sentinel.conf @@ -32,6 +32,16 @@ loglevel notice # output for logging but daemonize, logs will be sent to /dev/null logfile "" +# To enable logging to the system logger, just set 'syslog-enabled' to yes, +# and optionally update the other syslog parameters to suit your needs. +# syslog-enabled no + +# Specify the syslog identity. +# syslog-ident sentinel + +# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7. +# syslog-facility local0 + # sentinel announce-ip <ip> # sentinel announce-port <port> # |