aboutsummaryrefslogtreecommitdiff
path: root/net/tor/patches
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-01-14 17:40:43 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-01-15 23:18:47 +0100
commit275874dc22180f61d62f0d7a6793d223eb618fc6 (patch)
treedc0b492b191703f01c9edfeb3aa020e5a10ad281 /net/tor/patches
parent239ed96b0d7279e71ed233f3f9c038050c589026 (diff)
tor: log to syslog by default
Make tor log to syslog by default instead of stdout. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'net/tor/patches')
-rw-r--r--net/tor/patches/001-torrc.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/tor/patches/001-torrc.patch b/net/tor/patches/001-torrc.patch
index eb315a077..1a784d2ff 100644
--- a/net/tor/patches/001-torrc.patch
+++ b/net/tor/patches/001-torrc.patch
@@ -1,5 +1,14 @@
--- a/src/config/torrc.sample.in
+++ b/src/config/torrc.sample.in
+@@ -39,7 +39,7 @@
+ ## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log
+ #Log debug file @LOCALSTATEDIR@/log/tor/debug.log
+ ## Use the system log instead of Tor's logfiles
+-#Log notice syslog
++Log notice syslog
+ ## To send all messages to stderr:
+ #Log debug stderr
+
@@ -50,7 +50,7 @@
## The directory for keeping all the keys/etc. By default, we store