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:03:27 GMT
Updated Branches:
  refs/heads/4.0 d46cce2be -> 7abf11780


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/7abf1178
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7abf1178
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7abf1178

Branch: refs/heads/4.0
Commit: 7abf11780fd0dbd3128b2a455036687e201601d0
Parents: d46cce2
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:03:11 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/7abf1178/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 a448663..52ae314 100755
--- a/server/src/com/cloud/api/ApiServer.java
+++ b/server/src/com/cloud/api/ApiServer.java
@@ -590,7 +590,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