adoroszlai opened a new pull request #288: HDDS-2506. Remove keyAllocationInfo 
and replication info from the auditLog
   ## What changes were proposed in this pull request?
   Remove key location info (and replication info) from audit log params.  The 
same information can be obtained (for debug purposes) from Ozone Insight.  This 
improves performance of audit logging, formatting a deeply nested proto message 
structure is expensive.  It also improves audit log structure, as each messages 
is expected to be a single line (except for stack traces).
   ## How was this patch tested?
   Ran `ozonesecure` acceptance test.  Verified audit messages:
   2019-12-02 12:10:43,616 | INFO  | OMAudit | user=HTTP/ | 
ip= | op=ALLOCATE_KEY {volume=vol-0-29689, bucket=bucket-0-44465, 
key=key-0-79381, dataSize=10240} | ret=SUCCESS |
   2019-12-02 12:10:46,042 | INFO  | OMAudit | user=HTTP/ | 
ip= | op=COMMIT_KEY {volume=vol-0-29689, bucket=bucket-0-44465, 
key=key-0-79381, dataSize=10240} | ret=SUCCESS |

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to