From ec89f4a9691dd62a5aa57c44f56bc72bb9b24979 Mon Sep 17 00:00:00 2001 From: coderfengyun Date: Mon, 31 Mar 2014 16:15:41 +0800 Subject: [PATCH] add new log for stop agent add new log for stop agent --- .../java/org/bench4q/master/domain/entity/TestPlanScript.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlanScript.java b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlanScript.java index 2b84f7cc..7fda40c9 100644 --- a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlanScript.java +++ b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlanScript.java @@ -272,6 +272,8 @@ public class TestPlanScript extends Observable implements StopTestModel resultModel = this.getAgentMessenger().stop( runningAgent.getAgent(), runningAgent.getAgentRunId()); if (resultModel == null || !resultModel.isSuccess()) { + logger.error("can't stop the agent with hostName" + + runningAgent.getAgent().getHostName()); doFaultTolerance(runningAgent); continue; }