Browse Source

[Improve]Remove the code logger.isDebugEnabled() #5918 #10542 (#12738)

Co-authored-by: chunlai.xu <chunlai.xu@zhaopin.com.cn>
3.2.0-release
XCL 2 years ago committed by GitHub
parent
commit
00b18ed422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java

6
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java

@ -1427,10 +1427,8 @@ public class ProcessServiceImpl implements ProcessService {
resourceInfo.setRes(res.getRes()); resourceInfo.setRes(res.getRes());
resourceInfo.setResourceName(resourceFullName); resourceInfo.setResourceName(resourceFullName);
} }
if (logger.isInfoEnabled()) { logger.info("updated resource info {}",
logger.info("updated resource info {}", JSONUtils.toJsonString(resourceInfo));
JSONUtils.toJsonString(resourceInfo));
}
} }
return resourceInfo; return resourceInfo;
} }

Loading…
Cancel
Save