Jonathan Hart

Lowered log level for common log

Change-Id: I4b60a4537a1398517ce403a37d2e6513bfb0b963
...@@ -15,6 +15,22 @@ ...@@ -15,6 +15,22 @@
15 */ 15 */
16 package org.onlab.onos.provider.lldp.impl; 16 package org.onlab.onos.provider.lldp.impl;
17 17
18 +import static com.google.common.base.Preconditions.checkNotNull;
19 +import static java.util.concurrent.TimeUnit.MILLISECONDS;
20 +import static org.onlab.onos.net.MastershipRole.MASTER;
21 +import static org.onlab.onos.net.PortNumber.portNumber;
22 +import static org.onlab.onos.net.flow.DefaultTrafficTreatment.builder;
23 +import static org.slf4j.LoggerFactory.getLogger;
24 +
25 +import java.nio.ByteBuffer;
26 +import java.util.Collections;
27 +import java.util.HashMap;
28 +import java.util.HashSet;
29 +import java.util.Iterator;
30 +import java.util.Map;
31 +import java.util.Set;
32 +import java.util.concurrent.atomic.AtomicInteger;
33 +
18 import org.jboss.netty.util.Timeout; 34 import org.jboss.netty.util.Timeout;
19 import org.jboss.netty.util.TimerTask; 35 import org.jboss.netty.util.TimerTask;
20 import org.onlab.onos.mastership.MastershipService; 36 import org.onlab.onos.mastership.MastershipService;
...@@ -36,22 +52,6 @@ import org.onlab.packet.ONOSLLDP; ...@@ -36,22 +52,6 @@ import org.onlab.packet.ONOSLLDP;
36 import org.onlab.util.Timer; 52 import org.onlab.util.Timer;
37 import org.slf4j.Logger; 53 import org.slf4j.Logger;
38 54
39 -import java.nio.ByteBuffer;
40 -import java.util.Collections;
41 -import java.util.HashMap;
42 -import java.util.HashSet;
43 -import java.util.Iterator;
44 -import java.util.Map;
45 -import java.util.Set;
46 -import java.util.concurrent.atomic.AtomicInteger;
47 -
48 -import static com.google.common.base.Preconditions.checkNotNull;
49 -import static java.util.concurrent.TimeUnit.MILLISECONDS;
50 -import static org.onlab.onos.net.MastershipRole.MASTER;
51 -import static org.onlab.onos.net.PortNumber.portNumber;
52 -import static org.onlab.onos.net.flow.DefaultTrafficTreatment.builder;
53 -import static org.slf4j.LoggerFactory.getLogger;
54 -
55 /** 55 /**
56 * Run discovery process from a physical switch. Ports are initially labeled as 56 * Run discovery process from a physical switch. Ports are initially labeled as
57 * slow ports. When an LLDP is successfully received, label the remote port as 57 * slow ports. When an LLDP is successfully received, label the remote port as
...@@ -336,7 +336,7 @@ public class LinkDiscovery implements TimerTask { ...@@ -336,7 +336,7 @@ public class LinkDiscovery implements TimerTask {
336 private void sendProbes(Long portNumber) { 336 private void sendProbes(Long portNumber) {
337 // TODO: should have suppression port configuration, not by type 337 // TODO: should have suppression port configuration, not by type
338 if (device.type() != Device.Type.ROADM) { 338 if (device.type() != Device.Type.ROADM) {
339 - log.debug("Sending probes out to {}@{}", portNumber, device.id()); 339 + log.trace("Sending probes out to {}@{}", portNumber, device.id());
340 OutboundPacket pkt = this.createOutBoundLLDP(portNumber); 340 OutboundPacket pkt = this.createOutBoundLLDP(portNumber);
341 pktService.emit(pkt); 341 pktService.emit(pkt);
342 if (useBDDP) { 342 if (useBDDP) {
......