X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/63d62eb786aacf25e0533cf328d95dc45806dcba..35a6044140deb1c70dc92c5d454745142faeeb37:/redis.conf diff --git a/redis.conf b/redis.conf index 6d18e2f5..456ffa85 100644 --- a/redis.conf +++ b/redis.conf @@ -312,6 +312,24 @@ no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb +################################## SLOW LOG ################################### + +# The Redis Slow Log is a system to log queries that exceeded a specified +# execution time. The execution time does not include the I/O operations +# like talking with the client, sending the reply and so forth, +# but just the time needed to actually execute the command (this is the only +# stage of command execution where the thread is blocked and can not serve +# other requests in the meantime). +# +# You can configure the slow log with two parameters: one tells Redis +# what is the execution time, in microseconds, to exceed in order for the +# command to get logged, and the other parameter is the length of the +# slow log. When a new command is logged the oldest one is removed from the +# queue of logged commands. + +slowlog-log-slower-than 10000 +slowlog-log-len 1024 + ############################### ADVANCED CONFIG ############################### # Hashes are encoded in a special way (much more memory efficient) when they