You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ch...@apache.org on 2012/12/13 22:02:29 UTC

git commit: CLOUDSTACK-505: Removed logging of deployVirtualMachine and resetPasswordForVirtualMachine commands. Signed-off-by: Chip Childers

Updated Branches:
  refs/heads/master 2cc09c813 -> 82a17a413


CLOUDSTACK-505: Removed logging of deployVirtualMachine and resetPasswordForVirtualMachine commands.
Signed-off-by: Chip Childers <ch...@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 <ch...@gmail.com>
Authored: Thu Dec 13 16:00:30 2012 -0500
Committer: Chip Childers <ch...@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);