cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [19/50] [abbrv] git commit: updated refs/heads/reporter to b26f3fc
Date Fri, 02 Jan 2015 14:36:11 GMT
CLOUDSTACK-8108. vCenter admin name is logged in clear text.
Revert back to TRACE logging while retrieving and recycling VMware context from the context
pool.


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

Branch: refs/heads/reporter
Commit: 0f224c858fd3612c66632ba3476bfc3f1f71e1df
Parents: a75a431
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Wed Oct 22 14:40:39 2014 +0530
Committer: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Committed: Tue Dec 23 10:35:06 2014 +0530

----------------------------------------------------------------------
 .../cloud/hypervisor/vmware/util/VmwareContextPool.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0f224c85/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContextPool.java
----------------------------------------------------------------------
diff --git a/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContextPool.java b/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContextPool.java
index e28c974..c97c01f 100644
--- a/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContextPool.java
+++ b/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContextPool.java
@@ -83,8 +83,8 @@ public class VmwareContextPool {
                 VmwareContext context = l.remove(0);
                 context.setPoolInfo(this, poolKey);
 
-                if (s_logger.isInfoEnabled())
-                    s_logger.info("Return a VmwareContext from the idle pool: " + poolKey
+ ". current pool size: " + l.size() + ", outstanding count: " +
+                if (s_logger.isTraceEnabled())
+                    s_logger.trace("Return a VmwareContext from the idle pool: " + poolKey
+ ". current pool size: " + l.size() + ", outstanding count: " +
                         VmwareContext.getOutstandingContextCount());
                 return context;
             }
@@ -108,12 +108,12 @@ public class VmwareContextPool {
                 context.clearStockObjects();
                 l.add(context);
 
-                if (s_logger.isInfoEnabled())
-                    s_logger.info("Recycle VmwareContext into idle pool: " + context.getPoolKey()
+ ", current idle pool size: " + l.size() + ", outstanding count: " +
+                if (s_logger.isTraceEnabled())
+                    s_logger.trace("Recycle VmwareContext into idle pool: " + context.getPoolKey()
+ ", current idle pool size: " + l.size() + ", outstanding count: " +
                         VmwareContext.getOutstandingContextCount());
             } else {
-                if (s_logger.isInfoEnabled())
-                    s_logger.info("VmwareContextPool queue exceeds limits, queue size: "
+ l.size());
+                if (s_logger.isTraceEnabled())
+                    s_logger.trace("VmwareContextPool queue exceeds limits, queue size: "
+ l.size());
                 context.close();
             }
         }


Mime
View raw message