rg9975 commented on code in PR #7889:
URL: https://github.com/apache/cloudstack/pull/7889#discussion_r1374828664


##########
plugins/acl/project-role-based/src/main/java/org/apache/cloudstack/acl/ProjectRoleBasedApiAccessChecker.java:
##########
@@ -119,7 +119,7 @@ public boolean checkAccess(User user, String 
apiCommandName) throws PermissionDe
 
         Account userAccount = accountService.getAccount(user.getAccountId());
         if (accountService.isRootAdmin(userAccount.getId()) || 
accountService.isDomainAdmin(userAccount.getAccountId())) {
-            LOGGER.info(String.format("Account [%s] is Root Admin or Domain 
Admin, all APIs are allowed.", userAccount.getAccountName()));
+            LOGGER.trace(String.format("Account [%s] is Root Admin or Domain 
Admin, all APIs are allowed.", userAccount.getAccountName()));

Review Comment:
   I believe we added it to make debugging easier, but it should be trace level 
and gated, updated in upcoming commit.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to