From 219e85ff3e7b3dbc9c77cb2eaff64772680a3129 Mon Sep 17 00:00:00 2001 From: Thomas Fline Date: Tue, 4 Apr 2023 08:25:52 -0400 Subject: 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. --- sentinel.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sentinel.conf') 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 # sentinel announce-port # -- cgit v1.2.1