You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/04/13 02:00:14 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #3145: HBASE-25762 Improvement for some debug-logging guards

Apache9 commented on a change in pull request #3145:
URL: https://github.com/apache/hbase/pull/3145#discussion_r612075060



##########
File path: hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java
##########
@@ -403,21 +403,27 @@ private void cancelAllChores(final boolean mayInterruptIfRunning) {
    * Prints a summary of important details about the chore. Used for debugging purposes
    */
   private void printChoreDetails(final String header, ScheduledChore chore) {
+    if (!LOG.isTraceEnabled())

Review comment:
       Please add '{}' to avoid checkstyle warnings.




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

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