adoroszlai opened a new pull request #288: HDDS-2506. Remove keyAllocationInfo and replication info from the auditLog URL: https://github.com/apache/hadoop-ozone/pull/288 ## 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). https://issues.apache.org/jira/browse/HDDS-2506 ## How was this patch tested? Ran `ozonesecure` acceptance test. Verified audit messages: ``` 2019-12-02 12:10:43,616 | INFO | OMAudit | user=HTTP/s...@example.com | ip=172.31.0.4 | 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/s...@example.com | ip=172.31.0.4 | op=COMMIT_KEY {volume=vol-0-29689, bucket=bucket-0-44465, key=key-0-79381, dataSize=10240} | ret=SUCCESS | ``` https://github.com/adoroszlai/hadoop-ozone/runs/330684634
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org