log optimize

This commit is contained in:
xuxueli 2019-02-26 10:22:00 +08:00
parent 575e7b4a38
commit fe97e510be
1 changed files with 7 additions and 2 deletions

View File

@ -90,12 +90,17 @@ public class ExecutorRegistryThread {
logger.info(">>>>>>>>>>> xxl-job registry-remove fail, registryParam:{}, registryResult:{}", new Object[]{registryParam, registryResult});
}
} catch (Exception e) {
logger.info(">>>>>>>>>>> xxl-job registry-remove error, registryParam:{}", registryParam, e);
if (!toStop) {
logger.info(">>>>>>>>>>> xxl-job registry-remove error, registryParam:{}", registryParam, e);
}
}
}
} catch (Exception e) {
logger.error(e.getMessage(), e);
if (!toStop) {
logger.error(e.getMessage(), e);
}
}
logger.info(">>>>>>>>>>> xxl-job, executor registry thread destory.");