Skip to content

Commit

Permalink
MINOR: Log resource pattern of ACL updates at INFO level (#9578)
Browse files Browse the repository at this point in the history
Reviewers: Manikumar Reddy <[email protected]>
  • Loading branch information
rajinisivaram authored Nov 10, 2020
1 parent f49c6c2 commit 846e356
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ class AclAuthorizer extends Authorizer with Logging {
throw new IllegalStateException(s"Failed to update ACLs for $resource after trying a maximum of $maxUpdateRetries times")

if (newVersionedAcls.acls != currentVersionedAcls.acls) {
debug(s"Updated ACLs for $resource to ${newVersionedAcls.acls} with version ${newVersionedAcls.zkVersion}")
info(s"Updated ACLs for $resource with new version ${newVersionedAcls.zkVersion}")
debug(s"Updated ACLs for $resource to $newVersionedAcls")
updateCache(resource, newVersionedAcls)
updateAclChangedFlag(resource)
true
Expand Down

0 comments on commit 846e356

Please sign in to comment.