Skip to content

Commit 1a76b72

Browse files
some more log message fix
1 parent 76abf5d commit 1a76b72

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ public Answer sendTo(final Long dcId, final HypervisorType type, final Command c
360360
public Answer send(final Long hostId, final Command cmd) throws AgentUnavailableException, OperationTimedoutException {
361361
final Commands cmds = new Commands(Command.OnError.Stop);
362362
cmds.addCommand(cmd);
363-
logger.debug(String.format("Wait time set on the command %s is %d seconds", cmd, cmd.getWait()));
364363
send(hostId, cmds, cmd.getWait());
365364
final Answer[] answers = cmds.getAnswers();
366365
if (answers != null && !(answers[0] instanceof UnsupportedAnswer)) {

server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ protected Pair<Boolean, String> validateCommaSeparatedKeyValueConfigWithPositive
14031403
String valueString = parts[1].trim();
14041404

14051405
if (commandName.isEmpty()) {
1406-
String errorMessage = String.format("Validation failed: Command name is missing in '%s'.", commandName);
1406+
String errorMessage = String.format("Validation failed: Command name is missing in '%s'.", command);
14071407
return new Pair<>(false, errorMessage);
14081408
}
14091409

0 commit comments

Comments
 (0)