incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject git commit: CLOUDSTACK-505: Removed logging of deployVirtualMachine and resetPasswordForVirtualMachine commands. Signed-off-by: Chip Childers <chip.childers@gmail.com>
Date Thu, 13 Dec 2012 21:02:29 GMT
Updated Branches:
  refs/heads/master 2cc09c813 -> 82a17a413


CLOUDSTACK-505: Removed logging of deployVirtualMachine and resetPasswordForVirtualMachine
commands.
Signed-off-by: Chip Childers <chip.childers@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/82a17a41
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/82a17a41
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/82a17a41

Branch: refs/heads/master
Commit: 82a17a413b109002a9b42f04ba49515ea4fe4e0b
Parents: 2cc09c8
Author: Chip Childers <chip.childers@gmail.com>
Authored: Thu Dec 13 16:00:30 2012 -0500
Committer: Chip Childers <chip.childers@gmail.com>
Committed: Thu Dec 13 16:00:30 2012 -0500

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiServer.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/82a17a41/server/src/com/cloud/api/ApiServer.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java
index 7365b36..019931c 100755
--- a/server/src/com/cloud/api/ApiServer.java
+++ b/server/src/com/cloud/api/ApiServer.java
@@ -586,7 +586,7 @@ public class ApiServer implements HttpRequestHandler {
             return;
         }
         auditTrailSb.append(" " + HttpServletResponse.SC_OK + " ");
-        if (command.equals("createSSHKeyPair")){
+        if (command.equals("createSSHKeyPair") || command.equals("deployVirtualMachine")
|| command.equals("resetPasswordForVirtualMachine")){
             auditTrailSb.append("This result was not logged because it contains sensitive
data.");
         } else {
             auditTrailSb.append(result);


Mime
View raw message