Replace exception.printStacktrace with write to log.
[controller.git] / opendaylight / connectionmanager / implementation / src / main / java / org / opendaylight / controller / connectionmanager / scheme / AbstractScheme.java
index d7c4e5f933bdba54e0a0cd5411627546c0133b72..f4c7bd2ff77fcda8874ca39db7d7c404ccf04aa7 100644 (file)
@@ -313,7 +313,7 @@ public abstract class AbstractScheme {
         } catch (CacheConfigException cce) {
             log.error("\nCache configuration invalid - check cache mode");
         } catch (Exception e) {
-            e.printStackTrace();
+            log.error("An error occured",e);
         }
     }
 }