tor: log to syslog by default 3837/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Jan 2017 16:40:43 +0000 (17:40 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Jan 2017 22:18:47 +0000 (23:18 +0100)
Make tor log to syslog by default instead of stdout.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
net/tor/patches/001-torrc.patch

index eb315a077b5d59247f1b2d569ed945ecbaa4cb61..1a784d2ffaee3080c50425643689533093156ccf 100644 (file)
@@ -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