[server][ executor]- 完成底层的代码
This commit is contained in:
@@ -117,14 +117,20 @@ public class CommandExecLogCache {
|
||||
);
|
||||
|
||||
String execTimeString = String.format(
|
||||
"execution time is => [ %s ]",
|
||||
"execution date time is => [ %s ]",
|
||||
TimeUtils.currentTimeString()
|
||||
);
|
||||
|
||||
String execMachineString = String.format(
|
||||
"execution machine is => [ %s ]",
|
||||
streamKey.split("-Execution")[0]
|
||||
);
|
||||
|
||||
|
||||
// add the command
|
||||
commandCachedLog.add(execCommandString);
|
||||
commandCachedLog.add(execTimeString);
|
||||
commandCachedLog.add(execMachineString);
|
||||
commandCachedLog.add("--------------- command result are as below --------------------");
|
||||
commandCachedLog.add("");
|
||||
|
||||
@@ -248,7 +254,7 @@ public class CommandExecLogCache {
|
||||
addCommandExecTailInfo(
|
||||
commandExecWaitTimeout,
|
||||
streamKey,
|
||||
process.exitValue()
|
||||
233
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user