Lower warn level in AbstractInvokableServiceMetadata 84/75384/2
authorTom Pantelis <tompantelis@gmail.com>
Wed, 22 Aug 2018 16:45:23 +0000 (12:45 -0400)
committerRobert Varga <nite@hq.sk>
Thu, 23 Aug 2018 21:58:47 +0000 (21:58 +0000)
The warning "interface interface X has no accptable entries, assuming it is satisfied"
is emmitted quite often from RpcServiceMetadata, ie for every routed RPC I believe.
I'm unclear as to why it filters out routed RPCs here and why it's a warning but
we should at least reduce to debug to avoid the noise.

Change-Id: I954a4b7c6b2a5e0d3fdbe7bbd2cc44b47ef01fdc
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/AbstractInvokableServiceMetadata.java

index 30ee9aab5a06fde158272e3ec902cd4e49a33b7b..10ec16f1ab9c160ea9f8bc18a44c108967f5769d 100644 (file)
@@ -91,7 +91,7 @@ abstract class AbstractInvokableServiceMetadata extends AbstractDependentCompone
         final Collection<SchemaPath> schemaPaths = RpcUtil.decomposeRpcService(rpcInterface, schemaContext,
             rpcFilter());
         if (schemaPaths.isEmpty()) {
-            log.warn("{}: interface {} has no accptable entries, assuming it is satisfied", logName(), rpcInterface);
+            log.debug("{}: interface {} has no acceptable entries, assuming it is satisfied", logName(), rpcInterface);
             setSatisfied();
             return;
         }