Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Do not use toString() in looging messages
[netconf.git]
/
netconf
/
netconf-netty-util
/
src
/
main
/
java
/
org
/
opendaylight
/
netconf
/
nettyutil
/
AbstractNetconfSession.java
diff --git
a/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java
b/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java
index 045b6d6d3e3d5b881ffa430530668a1d187ceb25..aab5b6d0c0320ae2e686db53bb3edd7455ceb090 100644
(file)
--- a/
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java
+++ b/
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java
@@
-88,7
+88,7
@@
public abstract class AbstractNetconfSession<S extends NetconfSession,L extends
}
protected void endOfInput() {
}
protected void endOfInput() {
- LOG.debug("Session {} end of input detected while session was in state {}", t
oString()
, isUp() ? "up"
+ LOG.debug("Session {} end of input detected while session was in state {}", t
his
, isUp() ? "up"
: "initialized");
if (isUp()) {
this.sessionListener.onSessionDown(thisInstance(),
: "initialized");
if (isUp()) {
this.sessionListener.onSessionDown(thisInstance(),
@@
-97,7
+97,7
@@
public abstract class AbstractNetconfSession<S extends NetconfSession,L extends
}
protected void sessionUp() {
}
protected void sessionUp() {
- LOG.debug("Session {} up", t
oString()
);
+ LOG.debug("Session {} up", t
his
);
sessionListener.onSessionUp(thisInstance());
this.up = true;
}
sessionListener.onSessionUp(thisInstance());
this.up = true;
}