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>
This commit is contained in:
Hauke Mehrtens 2017-01-14 17:40:43 +01:00 committed by Zoltan HERPAI
parent e6ea3339fe
commit b05cb4e4bd
1 changed files with 9 additions and 0 deletions

View 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