[
https://issues.apache.org/jira/browse/HDDS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689076#comment-16689076
]
Dinesh Chitlangia commented on HDDS-120:
----------------------------------------
[~xyao] - I share your concern about too many if blocks. Unfortunately, in
order to improve this it will require a major refactoring effort of core audit
framework.
Considering that we are yet to implement SCM audit logging, I think we can
proceed with current design and once SCM audit logging is also implemented, we
can look at refactoring to improve audit overall.
Attached patch 007 to include the logic for infoEnabled(Marker) &
errorEnabled(Marker).
Let me know if this approach sounds reasonable to you at this time.
> Adding HDDS datanode Audit Log
> ------------------------------
>
> Key: HDDS-120
> URL: https://issues.apache.org/jira/browse/HDDS-120
> Project: Hadoop Distributed Data Store
> Issue Type: New Feature
> Reporter: Xiaoyu Yao
> Assignee: Dinesh Chitlangia
> Priority: Major
> Labels: alpha2, logging
> Attachments: HDDS-120.001.patch, HDDS-120.002.patch,
> HDDS-120.003.patch, HDDS-120.004.patch, HDDS-120.005.patch,
> HDDS-120.006.patch, HDDS-120.007.patch
>
>
> This can be useful to find users who overload the DNs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]