You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/07/26 01:30:58 UTC

[GitHub] [ozone] ferhui commented on a change in pull request #2439: HDDS-5465. Delete redundant code when set、add and remove bucket acl

ferhui commented on a change in pull request #2439:
URL: https://github.com/apache/ozone/pull/2439#discussion_r676237618



##########
File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/acl/OMBucketAddAclRequest.java
##########
@@ -134,7 +127,9 @@ void onComplete(boolean operationResult, IOException exception,
         exception, getOmRequest().getUserInfo()));
 
     if (operationResult) {
-      LOG.debug("Add acl: {} to path: {} success!", getAcls(), getPath());
+      if (LOG.isDebugEnabled()) {

Review comment:
       Is this for performance? Maybe there is no problem here.
   It is recommended to use parameterized messages.
   Please see http://www.slf4j.org/faq.html#logging_performance




-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org