commit | 69832f618cc5ff5836e821277b17030ff11ec07b | [log] [tgz] |
---|---|---|
author | Charles Chan <charles@opennetworking.org> | Tue Jan 05 02:00:28 2021 +0000 |
committer | pierventre <pier@opennetworking.org> | Wed Jan 13 16:53:56 2021 +0100 |
tree | 026ed9dc46a7aff427158214801cd3fd98bba47a | |
parent | 3144060d46f3a63fd93a4baa9cab00ff2dbd8238 [diff] |
Lower LLDP log message when an unknown source is found Change-Id: Iaca2fd0b3bb5fac0ae6ab5f31da23fb0ade1f409
diff --git a/providers/lldpcommon/src/main/java/org/onosproject/provider/lldpcommon/LinkDiscovery.java b/providers/lldpcommon/src/main/java/org/onosproject/provider/lldpcommon/LinkDiscovery.java index 578e1c1..630b30d 100644 --- a/providers/lldpcommon/src/main/java/org/onosproject/provider/lldpcommon/LinkDiscovery.java +++ b/providers/lldpcommon/src/main/java/org/onosproject/provider/lldpcommon/LinkDiscovery.java
@@ -260,7 +260,7 @@ Optional<Device> srcDevice = findSourceDeviceByChassisId(deviceService, srcChassisId); if (!srcDevice.isPresent()) { - log.warn("source device not found. srcChassisId value: {}", srcChassisId); + log.debug("source device not found. srcChassisId value: {}", srcChassisId); return false; } Optional<Port> sourcePort = findSourcePortByName( @@ -269,7 +269,7 @@ srcDevice.get()); if (!sourcePort.isPresent()) { - log.warn("source port not found. sourcePort value: {}", sourcePort); + log.debug("source port not found. sourcePort value: {}", sourcePort); return false; }