Committed by
Gerrit Code Review
Do not print log when seeing unrelated events
Change-Id: Iec6fe95da2a316514c7703d01432fde9ef051f96
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -446,7 +446,6 @@ public class NetworkConfigLinksProvider | ... | @@ -446,7 +446,6 @@ public class NetworkConfigLinksProvider |
446 | 446 | ||
447 | @Override | 447 | @Override |
448 | public void event(NetworkConfigEvent event) { | 448 | public void event(NetworkConfigEvent event) { |
449 | - | ||
450 | if (event.configClass().equals(BasicLinkConfig.class)) { | 449 | if (event.configClass().equals(BasicLinkConfig.class)) { |
451 | log.info("net config event of type {} for basic link {}", | 450 | log.info("net config event of type {} for basic link {}", |
452 | event.type(), event.subject()); | 451 | event.type(), event.subject()); |
... | @@ -456,8 +455,8 @@ public class NetworkConfigLinksProvider | ... | @@ -456,8 +455,8 @@ public class NetworkConfigLinksProvider |
456 | } else if (event.type() == NetworkConfigEvent.Type.CONFIG_REMOVED) { | 455 | } else if (event.type() == NetworkConfigEvent.Type.CONFIG_REMOVED) { |
457 | removeLink(linkKey); | 456 | removeLink(linkKey); |
458 | } | 457 | } |
458 | + log.info("Link reconfigured"); | ||
459 | } | 459 | } |
460 | - log.info("Reconfigured"); | ||
461 | } | 460 | } |
462 | } | 461 | } |
463 | 462 | ... | ... |
-
Please register or login to post a comment