diff --git a/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java b/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java
index eb9944380b1..9f95c524bfd 100755
--- a/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java
+++ b/core/src/main/java/org/zstack/core/rest/RESTFacadeImpl.java
@@ -205,7 +205,7 @@ void sendCommand(HttpServletRequest req, HttpServletResponse rsp) {
             HttpEntity<String> entity = this.httpServletRequestToHttpEntity(req);
             if (commandPath == null) {
                 rsp.sendError(HttpStatus.SC_BAD_REQUEST, "No 'commandPath' found in the header");
-                logger.warn(String.format("Received a command, but no 'taskUuid' found in headers. request body: %s", entity.getBody()));
+                logger.warn(String.format("Received a command, but no 'commandPath' found in headers. request body: %s", entity.getBody()));
                 return;
             }