Since CLOUDSTACK-5336 is resolved, changing the log level to TRACE

Revert "CLOUDSTACK-5336. During regression automation management server hang with "out of memory error"."

This reverts commit c055417589.
This commit is contained in:
Likitha Shetty 2013-12-06 10:00:11 +05:30
parent e33f8f2f44
commit 6df26fe504
2 changed files with 7 additions and 8 deletions

View File

@ -100,7 +100,7 @@ public class VmwareContext {
registerOutstandingContext();
if(s_logger.isInfoEnabled())
s_logger.info("New VmwareContext object: " + System.identityHashCode(this) + ", current outstanding count: " + getOutstandingContextCount());
s_logger.info("New VmwareContext object, current outstanding count: " + getOutstandingContextCount());
}
public boolean validate() {

View File

@ -83,9 +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: " + VmwareContext.getOutstandingContextCount() + ". context: " + System.identityHashCode(context));
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,11 +107,11 @@ 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: " + VmwareContext.getOutstandingContextCount() + ". context: " + System.identityHashCode(context));
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.isDebugEnabled())
if(s_logger.isTraceEnabled())
s_logger.trace("VmwareContextPool queue exceeds limits, queue size: " + l.size());
context.close();
}