Github user arshadmohammad commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/338#discussion_r218067686
  
    --- Diff: conf/log4j.properties ---
    @@ -63,3 +63,20 @@ 
log4j.appender.TRACEFILE.File=${zookeeper.tracelog.dir}/${zookeeper.tracelog.fil
     log4j.appender.TRACEFILE.layout=org.apache.log4j.PatternLayout
     ### Notice we are including log4j's NDC here (%x)
     log4j.appender.TRACEFILE.layout.ConversionPattern=%d{ISO8601} 
[myid:%X{myid}] - %-5p [%t:%C{1}@%L][%x] - %m%n
    +#
    +# zk audit logging
    +#
    +zookeeper.auditlog.file=zookeeper_audit.log
    +zookeeper.auditlog.threshold=INFO
    +audit.logger=INFO, AUDITFILE
    +log4j.logger.org.apache.zookeeper.audit.ZKAuditLogger=${audit.logger}
    +log4j.additivity.org.apache.zookeeper.audit.ZKAuditLogger=false
    --- End diff --
    
     log4j.additivity.org.apache.zookeeper.audit = false  is superset 
configuration of 
log4j.additivity.org.apache.zookeeper.audit.ZKAuditLogger=false 
    As all the all audit logging is done through ZKAuditLogger it is ok to 
configure only this


---

Reply via email to