底层Log调优,应用正常终止取消异常栈信息打印;
This commit is contained in:
parent
a53e77b4c0
commit
ec06ae09ae
|
@ -93,7 +93,7 @@ public class JobFailMonitorHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.warn(">>>>>>>>>>> xxl-job, job fail monitor thread stop");
|
logger.info(">>>>>>>>>>> xxl-job, job fail monitor thread stop");
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -86,7 +86,7 @@ public class JobRegistryMonitorHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.warn(">>>>>>>>>>> xxl-job, job registry monitor thread stop");
|
logger.info(">>>>>>>>>>> xxl-job, job registry monitor thread stop");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
registryThread.setDaemon(true);
|
registryThread.setDaemon(true);
|
||||||
|
|
|
@ -110,12 +110,17 @@ public class TriggerCallbackThread {
|
||||||
try {
|
try {
|
||||||
retryFailCallbackFile();
|
retryFailCallbackFile();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
if (!toStop) {
|
||||||
logger.error(e.getMessage(), e);
|
logger.error(e.getMessage(), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
TimeUnit.SECONDS.sleep(RegistryConfig.BEAT_TIMEOUT);
|
TimeUnit.SECONDS.sleep(RegistryConfig.BEAT_TIMEOUT);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
logger.warn(">>>>>>>>>>> xxl-job, executor retry callback thread interrupted, error msg:{}", e.getMessage());
|
if (!toStop) {
|
||||||
|
logger.error(e.getMessage(), e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.info(">>>>>>>>>>> xxl-job, executor retry callback thread destory.");
|
logger.info(">>>>>>>>>>> xxl-job, executor retry callback thread destory.");
|
||||||
|
|
Loading…
Reference in New Issue