Add molude: nemo-tools and remove the depency of cliche repositoty.
[nemo.git] / nemo-tools / sandbox / src / main / java / org / opendaylight / nemo / tool / sandbox / models / Link.java
index 3f896a252c1aad85ec13976f1166364d610f429a..39cd7a02b1015f229915c494385c4eff2b346d76 100644 (file)
@@ -9,7 +9,8 @@
 package org.opendaylight.nemo.tool.sandbox.models;
 
 import org.opendaylight.nemo.tool.sandbox.CmdExecutor;
-
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 /**
  * Created by hj on 12/8/15.
  */
@@ -37,7 +38,7 @@ public class Link {
             CmdExecutor.sshExecute(linkAddCmd);
         } catch (Exception e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
         }
     }
 
@@ -47,7 +48,7 @@ public class Link {
             CmdExecutor.sshExecute(linkDelCmd);
         } catch (Exception e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
         }
     }