aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/torrc.global.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index f577673..992d9d2 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -12,7 +12,7 @@ Log notice syslog
Log <%= log_rule %>
<% end -%>
<% end -%>
-<%- if @safe_logging != 1 then -%>
+<%- if (safe_logging=scope.lookupvar('tor::daemon::safe_logging')) != 1 then -%>
SafeLogging <%= @safe_logging %>
<%- end -%>