Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve performance of netconf notification processing
[controller.git]
/
opendaylight
/
md-sal
/
sal-netconf-connector
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
connect
/
netconf
/
listener
/
NetconfDeviceCommunicator.java
diff --git
a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/listener/NetconfDeviceCommunicator.java
b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/listener/NetconfDeviceCommunicator.java
index 4f2f6ab38ea204a45b02473b55130900d9c627c3..257cd464a996ebc4efd906dceb6fae8db3800da3 100644
(file)
--- a/
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/listener/NetconfDeviceCommunicator.java
+++ b/
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/listener/NetconfDeviceCommunicator.java
@@
-324,10
+324,8
@@
public class NetconfDeviceCommunicator implements NetconfClientSessionListener,
}
private void processNotification(final NetconfMessage notification) {
}
private void processNotification(final NetconfMessage notification) {
- logger.debug("{}: Notification received: {}", id, notification);
-
if(logger.isTraceEnabled()) {
if(logger.isTraceEnabled()) {
- logger.trace("{}: Notification received: {}", id,
msgToS(notification)
);
+ logger.trace("{}: Notification received: {}", id,
notification
);
}
remoteDevice.onNotification(notification);
}
remoteDevice.onNotification(notification);