blob: f8d8791e88c9ecf061811472de3ca452e2034b21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
diff -up ./redis.conf.rpmconf ./redis.conf
--- ./redis.conf.rpmconf 2015-12-23 13:35:32.000000000 +0100
+++ ./redis.conf 2016-01-15 16:32:22.491355290 +0100
@@ -160,7 +160,7 @@ loglevel notice
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
-logfile ""
+logfile /var/log/redis/redis.log
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
@@ -244,7 +244,7 @@ dbfilename dump.rdb
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
-dir ./
+dir /var/lib/redis/
################################# REPLICATION #################################
diff -up ./sentinel.conf.rpmconf ./sentinel.conf
--- ./sentinel.conf.rpmconf 2015-12-23 13:35:32.000000000 +0100
+++ ./sentinel.conf 2016-01-15 16:32:22.491355290 +0100
@@ -20,6 +20,11 @@
# The port that this sentinel instance will run on
port 26379
+# Specify the log file name. Also the empty string can be used to force
+# Redis to log on the standard output. Note that if you use standard
+# output for logging but daemonize, logs will be sent to /dev/null
+logfile /var/log/redis/sentinel.log
+
# sentinel announce-ip <ip>
# sentinel announce-port <port>
#
|