[tor-commits] [sbws/master] globals: add torrc logging options

juga at torproject.org juga at torproject.org
Sat Dec 1 10:09:40 UTC 2018


commit ca7856b6bbfc7d73063b65d99cf903a5ca16cb1d
Author: juga0 <juga at riseup.net>
Date:   Thu Nov 29 10:51:53 2018 +0000

    globals: add torrc logging options
    
    Closes #28645. Bugfix v0.2.0.
---
 sbws/globals.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sbws/globals.py b/sbws/globals.py
index 217e1a7..2acecc7 100644
--- a/sbws/globals.py
+++ b/sbws/globals.py
@@ -21,6 +21,10 @@ TORRC_STARTING_POINT = {
     # Because we need things from full server descriptors (namely for now: the
     # bandwidth line)
     'UseMicrodescriptors': '0',
+    # useful logging options for clients that don't care about anonymity
+    'SafeLogging': '0',
+    'LogTimeGranularity': '1',
+    'ProtocolWarnings': '1',
 }
 
 PKG_DIR = os.path.abspath(os.path.dirname(__file__))





More information about the tor-commits mailing list