zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1260) Audit logging in ZooKeeper servers.
Date Mon, 11 Sep 2017 20:28:02 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161936#comment-16161936

ASF GitHub Bot commented on ZOOKEEPER-1260:

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

    --- Diff: conf/log4j.properties ---
    @@ -63,3 +63,20 @@ log4j.appender.TRACEFILE.File=${zookeeper.tracelog.dir}/${zookeeper.tracelog.fil
     ### 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
    +audit.logger=INFO, AUDITFILE
    --- End diff --
    How is the rolling of the audit log file defined? Is it controlled by the `log4j.appender.AUDITFILE.Threshold`
    Should we also add something like DailyRollingFileAppender and a date pattern property
as another alternative for rolling logs?

> Audit logging in ZooKeeper servers.
> -----------------------------------
>                 Key: ZOOKEEPER-1260
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1260
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: server
>            Reporter: Mahadev konar
>            Assignee: Mohammad Arshad
>             Fix For: 3.5.4, 3.6.0
>         Attachments: ZOOKEEPER-1260-01.patch, zookeeperAuditLogs.pdf
> Lots of users have had questions on debugging which client changed what znode and what
updates went through a znode. We should add audit logging as in Hadoop (look at Namenode Audit
logging) to log which client changed what in the zookeeper servers. This could just be a log4j
audit logger.

This message was sent by Atlassian JIRA

View raw message