Hello Yingchun Lai, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21613

to look at the new patch set (#4).

Change subject: [log] Support logging audit logs to a separate file
......................................................................

[log] Support logging audit logs to a separate file

Currently, audit logs and regular logs are recorded together,
but if we need to track audit activities, there's a high
likelihood that audit logs might be lost due to interference
from other logs.
By researching how to use glog [1], I found that we can achieve
our goal by overriding the send function. In this patch, I
implemented this feature to redirect audit logs.
To verify this functionality, I also wrote unit tests to validate
the newly added logic.

1. https://google.github.io/glog/stable/sinks/

Change-Id: Ie5323361befb456d91a12da7273865542f1d2430
---
M src/kudu/master/CMakeLists.txt
A src/kudu/master/audit_logger-test.cc
A src/kudu/master/audit_logger.cc
A src/kudu/master/audit_logger.h
M src/kudu/master/catalog_manager.cc
M src/kudu/master/master-test.cc
6 files changed, 511 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/13/21613/4
--
To view, visit http://gerrit.cloudera.org:8080/21613
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie5323361befb456d91a12da7273865542f1d2430
Gerrit-Change-Number: 21613
Gerrit-PatchSet: 4
Gerrit-Owner: KeDeng <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to