From 2f411770c85ddfd226c02819c0f98a3f5a7854ac Mon Sep 17 00:00:00 2001 From: Wen Hui Date: Sun, 20 Nov 2022 05:03:00 -0500 Subject: 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 --- sentinel.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sentinel.conf') 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 -- cgit v1.2.1