ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Bosco Durai <bo...@apache.org>
Subject Re: Review Request 50649: RANGER-1131: Add trace message if audit event is failed to log.
Date Tue, 02 Aug 2016 20:18:01 GMT

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


Ship it!




Ship It!

- Don Bosco Durai


On Aug. 2, 2016, 2:07 a.m., Dongying Jiao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50649/
> -----------------------------------------------------------
> 
> (Updated Aug. 2, 2016, 2:07 a.m.)
> 
> 
> 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.
> Built clean and ran all unit tests passed.
> 
> 
> Thanks,
> 
> Dongying Jiao
> 
>


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