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

Co-authored-by: chunlai.xu <chunlai.xu@zhaopin.com.cn>
This commit is contained in:
XCL 2022-11-07 09:58:19 +08:00 committed by GitHub
parent 606a5aeee5
commit 00b18ed422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

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