Blame SOURCES/0001-redis-3.2-redis-conf.patch

785ec4
diff -up ./redis.conf.rpmconf ./redis.conf
785ec4
--- ./redis.conf.rpmconf	2015-12-23 13:35:32.000000000 +0100
785ec4
+++ ./redis.conf	2016-01-15 16:32:22.491355290 +0100
785ec4
@@ -140,7 +140,7 @@ loglevel notice
785ec4
 # Specify the log file name. Also the empty string can be used to force
785ec4
 # Redis to log on the standard output. Note that if you use standard
785ec4
 # output for logging but daemonize, logs will be sent to /dev/null
785ec4
-logfile ""
785ec4
+logfile /var/log/redis/redis.log
785ec4
 
785ec4
 # To enable logging to the system logger, just set 'syslog-enabled' to yes,
785ec4
 # and optionally update the other syslog parameters to suit your needs.
785ec4
@@ -224,7 +224,7 @@ dbfilename dump.rdb
785ec4
 # The Append Only File will also be created inside this directory.
785ec4
 #
785ec4
 # Note that you must specify a directory here, not a file name.
785ec4
-dir ./
785ec4
+dir /var/lib/redis/
785ec4
 
785ec4
 ################################# REPLICATION #################################
785ec4
 
785ec4
diff -up ./sentinel.conf.rpmconf ./sentinel.conf
785ec4
--- ./sentinel.conf.rpmconf	2015-12-23 13:35:32.000000000 +0100
785ec4
+++ ./sentinel.conf	2016-01-15 16:32:22.491355290 +0100
785ec4
@@ -4,6 +4,11 @@
785ec4
 # The port that this sentinel instance will run on
785ec4
 port 26379
785ec4
 
785ec4
+# Specify the log file name. Also the empty string can be used to force
785ec4
+# Redis to log on the standard output. Note that if you use standard
785ec4
+# output for logging but daemonize, logs will be sent to /dev/null
785ec4
+logfile /var/log/redis/sentinel.log
785ec4
+
785ec4
 # sentinel announce-ip <ip>
785ec4
 # sentinel announce-port <port>
785ec4
 #