diff --git a/agent/src/main/java/io/wdd/agent/executor/thread/CommandExecLogCache.java b/agent/src/main/java/io/wdd/agent/executor/thread/CommandExecLogCache.java index ef73000..7b07fef 100644 --- a/agent/src/main/java/io/wdd/agent/executor/thread/CommandExecLogCache.java +++ b/agent/src/main/java/io/wdd/agent/executor/thread/CommandExecLogCache.java @@ -146,6 +146,7 @@ public class CommandExecLogCache { commandCachedLog::add ); + log.debug( "命令代码 [ {} ] 的执行日志内容为 {} ", streamKey, @@ -171,11 +172,11 @@ public class CommandExecLogCache { try { // 关闭command的输出流 - process - .getInputStream() - .close(); - - inputStreamReader.close(); +// process +// .getInputStream() +// .close(); +// +// inputStreamReader.close(); bufferedReader.close();