You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/05/11 01:32:49 UTC
[06/50] [abbrv] git commit: updated refs/heads/object_store to 342624e
Adding tracelogs to the API discovery service
Signed-off-by: Prasanna Santhanam <ts...@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/object_store
Commit: 26d637a0fb77e803b9f03cfcbc46076931a3c4b6
Parents: 9037d3b
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Tue May 7 13:50:56 2013 +0530
Committer: Prasanna Santhanam <ts...@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();