Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Redirecting Caught and Uncaught Exceptions to OSGI Console and Log File
[controller.git]
/
opendaylight
/
forwarding
/
staticrouting
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
forwarding
/
staticrouting
/
internal
/
StaticRoutingImplementation.java
diff --git
a/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/internal/StaticRoutingImplementation.java
b/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/internal/StaticRoutingImplementation.java
index fd043fd0ac321d4cc52ce294676b5558ee72fac4..4c2ea7313ac61be41f19b5a5409ddcdba46c27e6 100644
(file)
--- a/
opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/internal/StaticRoutingImplementation.java
+++ b/
opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/internal/StaticRoutingImplementation.java
@@
-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
);
}
}
}