HIGUCHI Yuta
Committed by Gerrit Code Review

Explicitly log when disconnecting a switch.

Change-Id: Ie52db282ce6856705e32175558630d37b7f93336
......@@ -744,6 +744,7 @@ class OFChannelHandler extends IdleStateAwareChannelHandler {
*/
protected void logErrorDisconnect(OFChannelHandler h, OFErrorMsg error) {
logError(h, error);
log.error("Disconnecting switch {}", h.getSwitchInfoString());
h.channel.disconnect();
}
......