Bug 3854 - GBP sonar: System.out and System.err should not be used as loggers 14/23214/1
authorRuijing Guo <ruijing.guo@intel.com>
Wed, 24 Jun 2015 08:49:08 +0000 (08:49 +0000)
committerRuijing Guo <ruijing.guo@intel.com>
Wed, 24 Jun 2015 08:49:08 +0000 (08:49 +0000)
Change-Id: Ib3e998bba62aba9a5a4bd683cd43a891cfffaa36
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
renderers/opflex/src/main/java/org/opendaylight/groupbasedpolicy/renderer/opflex/lib/OpflexConnectionService.java

index d28cb32b5322091278761e96cbeccdc118f497c2..247895b20173f15c7d3c119d2160e1b317406c9d 100644 (file)
@@ -567,7 +567,7 @@ public class OpflexConnectionService implements ConnectionService, RpcBroker, Rp
     public synchronized void publish(JsonRpcEndpoint endpoint, RpcMessage message) {
         List<RpcCallback> cbList = brokerMap.get(message.getName());
         if (cbList == null) {
-            System.out.println("Unhandled Message name is " + message.getName());
+            logger.warn("Unhandled Message name is " + message.getName());
             return;
         }