You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramachandran (Jira)" <ji...@apache.org> on 2022/09/13 13:02:00 UTC
[jira] [Assigned] (RANGER-3902) Logging improvement for creating/updating role, policy via Rest API
[ https://issues.apache.org/jira/browse/RANGER-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramachandran reassigned RANGER-3902:
------------------------------------
Assignee: Ramachandran
> Logging improvement for creating/updating role, policy via Rest API
> -------------------------------------------------------------------
>
> Key: RANGER-3902
> URL: https://issues.apache.org/jira/browse/RANGER-3902
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Affects Versions: 3.0.0
> Reporter: Ramachandran
> Assignee: Ramachandran
> Priority: Major
>
> Whenever Role creation fails,we used to log the entire role JSON
> {code:java}
> LOG.error("createRole(" + role + ") failed", excp);{code}
> Whenever a Role update fails,we used to log the entire role JSON
> {code:java}
> LOG.error("updateRole(" + role + ") failed", excp);{code}
> Whenever policy creation fails , we used to log the entire {color:#172b4d}policy{color} JSON
> {code:java}
> LOG.error("createPolicy(" + policy + ") failed", excp);{code}
> Whenever a policy update fails, we used to log the entire {color:#172b4d}policy{color} JSON
> {code:java}
> LOG.error("updatePolicy(" + policy + ") failed", excp);{code}
> {color:#ff0000}Proposal :{color}
> {color:#172b4d}During role/policy, creation/update fails{color}
> {color:#172b4d}We can log roleId/roleName for roles creation/updation .As well as policyId/policyName for policy creation/updation.{color}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)