提交 f94b155f 编写于 作者: K kohsuke

[HUDSON-3984] Added logging.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19719 71c3de6d-444a-0410-be80-ed276b4c234a
上级 35206987
......@@ -418,7 +418,9 @@ public abstract class ProcessTree implements Iterable<OSProcess> {
*/
public void kill() {
try {
UnixReflection.DESTROY_PROCESS.invoke(null,getPid());
int pid = getPid();
LOGGER.fine("Killing pid="+pid);
UnixReflection.DESTROY_PROCESS.invoke(null, pid);
} catch (IllegalAccessException e) {
// this is impossible
IllegalAccessError x = new IllegalAccessError();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册