summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2022-11-20 05:03:00 -0500
committerGitHub <noreply@github.com>2022-11-20 12:03:00 +0200
commit2f411770c85ddfd226c02819c0f98a3f5a7854ac (patch)
treed921027c8667b2543c1b9de747c4e838adbe8f03 /sentinel.conf
parent203b12e41ff7981f0fae5b23819f072d61594813 (diff)
downloadredis-2f411770c85ddfd226c02819c0f98a3f5a7854ac.tar.gz
Add CONFIG SET and GET loglevel feature in Sentinel (#11214)
Till now Sentinel allowed modifying the log level in the config file, but not at runtime. this makes it possible to tune the log level at runtime
Diffstat (limited to 'sentinel.conf')
-rw-r--r--sentinel.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf
index bba9b92c2..0f0265c97 100644
--- a/sentinel.conf
+++ b/sentinel.conf
@@ -19,6 +19,14 @@ daemonize no
# location here.
pidfile /var/run/redis-sentinel.pid
+# Specify the server verbosity level.
+# This can be one of:
+# debug (a lot of information, useful for development/testing)
+# verbose (many rarely useful info, but not a mess like the debug level)
+# notice (moderately verbose, what you want in production probably)
+# warning (only very important / critical messages are logged)
+loglevel notice
+
# Specify the log file name. Also the empty string can be used to force
# Sentinel to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null