cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [61/90] [abbrv] git commit: updated refs/heads/internallb to 1b8a698
Date Wed, 08 May 2013 20:48:27 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/26d637a0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/26d637a0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/26d637a0

Branch: refs/heads/internallb
Commit: 26d637a0fb77e803b9f03cfcbc46076931a3c4b6
Parents: 9037d3b
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Tue May 7 13:50:56 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue May 7 13:52:12 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/26d637a0/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