cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [66/72] [abbrv] git commit: updated refs/heads/internallb to 43e1667
Date Tue, 07 May 2013 22:02:22 GMT
Adding tracelogs to the API discovery service

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/internallb
Commit: ceaa4e1b0d77ccb811a7e1f56ae212034b3f4a90
Parents: a3f5f01
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Tue May 7 13:50:56 2013 +0530
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Tue May 7 13:16:44 2013 -0700

----------------------------------------------------------------------
 .../discovery/ApiDiscoveryServiceImpl.java         |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ceaa4e1b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
----------------------------------------------------------------------
diff --git a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
index 2d7dbd1..08fb573 100755
--- a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
+++ b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
@@ -83,6 +83,9 @@ public class ApiDiscoveryServiceImpl implements ApiDiscoveryService {
             }
 
             String apiName = apiCmdAnnotation.name();
+            if (s_logger.isTraceEnabled()) {
+                s_logger.trace("Found api: " + apiName);
+            }
             ApiDiscoveryResponse response = getCmdRequestMap(cmdClass, apiCmdAnnotation);
 
             String responseName = apiCmdAnnotation.responseObject().getName();


Mime
View raw message