* Created by hj on 12/8/15.
*/
public class Link {
+ private static Logger log = LoggerFactory.getLogger(Link.class);
private final Connector srcInterface;
private final Connector dstInterface;
try {
CmdExecutor.sshExecute(linkAddCmd);
} catch (Exception e) {
- e.printStackTrace();
+ // TODO Auto-generated catch block
+ log.error(e);
}
}
try {
CmdExecutor.sshExecute(linkDelCmd);
} catch (Exception e) {
- e.printStackTrace();
+ // TODO Auto-generated catch block
+ log.error(e);
}
}