提交 758c0ced 编写于 作者: J Jesse Glick

“Termination trace” messages seem to be normal conditions. Do not log them as WARNING stack traces.

上级 1febeb8b
......@@ -466,7 +466,9 @@ public class Executor extends Thread implements ModelObject {
}
private void finish2() {
for (RuntimeException e1: owner.getTerminatedBy()) LOGGER.log(Level.WARNING, String.format("%s termination trace", getName()), e1);
for (RuntimeException e1 : owner.getTerminatedBy()) {
LOGGER.log(Level.FINE, String.format("%s termination trace", getName()), e1);
}
if (causeOfDeath == null) {// let this thread die and be replaced by a fresh unstarted instance
owner.removeExecutor(this);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册