changing directory structure to fix errors
[controller.git] / opendaylight / forwarding / staticrouting / src / main / java / org / opendaylight / controller / forwarding / staticrouting / internal / StaticRoutingImplementation.java
index fd043fd0ac321d4cc52ce294676b5558ee72fac4..ad6ea6bc105328691f3221fa6ccbe1b7302ad7bb 100644 (file)
@@ -244,7 +244,7 @@ public class StaticRoutingImplementation implements IfNewHostNotify,
                     try {
                         ra.staticRouteUpdate(s, update);
                     } catch (Exception e) {
-                        e.printStackTrace();
+                        log.error("",e);
                     }
                 }
             }
@@ -274,7 +274,7 @@ public class StaticRoutingImplementation implements IfNewHostNotify,
                         try {
                             host = future.get();
                         } catch (Exception e) {
-                            e.printStackTrace();
+                            log.error("",e);
                         }
                     }
                 }
@@ -451,8 +451,8 @@ public class StaticRoutingImplementation implements IfNewHostNotify,
         staticRoutesFileName = ROOT + "staticRouting_" + containerName
                 + ".conf";
 
-        log.debug("forwarding.staticrouting starting on container "
-                + containerName);
+        log.debug("forwarding.staticrouting starting on container {}",
+                  containerName);
         //staticRoutes = new ConcurrentHashMap<String, StaticRoute>();
         allocateCaches();
         retrieveCaches();