Skip to content

Commit

Permalink
Fix bug with wrong reference to audit_enable in logging templates (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
tr0k authored Jan 21, 2025
1 parent 4043a93 commit 819767a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/conf/log4j.properties.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ zookeeper.tracelog.file=zookeeper_trace.log

log4j.rootLogger=${zookeeper.root.logger}

<% if @audit_enable -%>
<% if scope.lookupvar("zookeeper::audit_enable") -%>
#
# zk audit logging
#
Expand Down
2 changes: 1 addition & 1 deletion templates/conf/logback.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
</filter>
</appender-->

<% if @audit_enable -%>
<% if scope.lookupvar("zookeeper::audit_enable") -%>
<!--
zk audit logging
-->
Expand Down

0 comments on commit 819767a

Please sign in to comment.