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. 2
      dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java

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

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

Loading…
Cancel
Save