Committed by
Gerrit Code Review
Explicitly log when disconnecting a switch.
Change-Id: Ie52db282ce6856705e32175558630d37b7f93336
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -744,6 +744,7 @@ class OFChannelHandler extends IdleStateAwareChannelHandler { | ... | @@ -744,6 +744,7 @@ class OFChannelHandler extends IdleStateAwareChannelHandler { |
| 744 | */ | 744 | */ |
| 745 | protected void logErrorDisconnect(OFChannelHandler h, OFErrorMsg error) { | 745 | protected void logErrorDisconnect(OFChannelHandler h, OFErrorMsg error) { |
| 746 | logError(h, error); | 746 | logError(h, error); |
| 747 | + log.error("Disconnecting switch {}", h.getSwitchInfoString()); | ||
| 747 | h.channel.disconnect(); | 748 | h.channel.disconnect(); |
| 748 | } | 749 | } |
| 749 | 750 | ... | ... |
-
Please register or login to post a comment