You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/01/18 20:15:35 UTC

[20/24] git commit: Change a debug message to TRACE level.

Change a debug message to TRACE level.

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

Branch: refs/heads/master
Commit: 805261a93f73928a3ce47c89f50bea21964d861b
Parents: 86ada92
Author: Min Chen <mi...@citrix.com>
Authored: Thu Jan 17 15:16:50 2013 -0800
Committer: Min Chen <mi...@citrix.com>
Committed: Thu Jan 17 15:16:50 2013 -0800

----------------------------------------------------------------------
 .../ratelimit/ApiRateLimitServiceImpl.java         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/805261a9/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
----------------------------------------------------------------------
diff --git a/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java b/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
index 1e9b9ad..303b92d 100644
--- a/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
+++ b/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
@@ -158,7 +158,7 @@ public class ApiRateLimitServiceImpl extends AdapterBase implements APIChecker,
         int current = entry.incrementAndGet();
 
         if (current <= maxAllowed) {
-            s_logger.info("current count = " + current);
+            s_logger.trace("account (" + account.getAccountId() + "," + account.getAccountName() + ") has current count = " + current);
             return true;
         } else {
             long expireAfter = entry.getExpireDuration();