ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dongying Jiao <pineapple...@gmail.com>
Subject Review Request 50649: RANGER-1131: Add trace message if audit event is failed to log.
Date Mon, 01 Aug 2016 02:41:15 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50649/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-1131
    https://issues.apache.org/jira/browse/RANGER-1131


Repository: ranger


Description
-------

AuditHandler.log function returns true or false to indicate the audit log result, but the
caller doesn't handle this return value. So if the audit is failed to log, we can't find any
clue in the trace.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerDefaultAuditHandler.java
60d3b0c 

Diff: https://reviews.apache.org/r/50649/diff/


Testing
-------

Warn level trace is added to indicate audit logging failure. The trace can be found in the
component who has ranger plugin enabled.


Thanks,

Dongying Jiao


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message