summaryrefslogtreecommitdiff
path: root/templates/torrc.global.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.global.erb')
-rw-r--r--templates/torrc.global.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index c320bfa..fc8c11e 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -12,6 +12,9 @@ Log notice syslog
Log <%= log_rule %>
<% end -%>
<% end -%>
+<%- if safe_logging != 1 then -%>
+SafeLogging <%= safe_logging %>
+<%- end -%>
<% if (v=scope.lookupvar('tor::daemon::automap_hosts_on_resolve')) != '0' -%>
AutomapHostsOnResolve <%= v %>