Adding tracelogs to the API discovery service

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-05-07 13:50:56 +05:30 committed by Alena Prokharchyk
parent a3f5f01c7e
commit ceaa4e1b0d
1 changed files with 3 additions and 0 deletions

View File

@ -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();