DeviceStore: lower log level
Change-Id: Ie606adee293d42775d8051ea7b4d064ed3ba7943
Showing
1 changed file
with
5 additions
and
6 deletions
... | @@ -1216,7 +1216,7 @@ public class GossipDeviceStore | ... | @@ -1216,7 +1216,7 @@ public class GossipDeviceStore |
1216 | @Override | 1216 | @Override |
1217 | public void handle(ClusterMessage message) { | 1217 | public void handle(ClusterMessage message) { |
1218 | 1218 | ||
1219 | - log.info("Received device update event from peer: {}", message.sender()); | 1219 | + log.debug("Received device update event from peer: {}", message.sender()); |
1220 | InternalDeviceEvent event = (InternalDeviceEvent) SERIALIZER.decode(message.payload()); | 1220 | InternalDeviceEvent event = (InternalDeviceEvent) SERIALIZER.decode(message.payload()); |
1221 | 1221 | ||
1222 | ProviderId providerId = event.providerId(); | 1222 | ProviderId providerId = event.providerId(); |
... | @@ -1231,7 +1231,7 @@ public class GossipDeviceStore | ... | @@ -1231,7 +1231,7 @@ public class GossipDeviceStore |
1231 | @Override | 1231 | @Override |
1232 | public void handle(ClusterMessage message) { | 1232 | public void handle(ClusterMessage message) { |
1233 | 1233 | ||
1234 | - log.info("Received device offline event from peer: {}", message.sender()); | 1234 | + log.debug("Received device offline event from peer: {}", message.sender()); |
1235 | InternalDeviceOfflineEvent event = (InternalDeviceOfflineEvent) SERIALIZER.decode(message.payload()); | 1235 | InternalDeviceOfflineEvent event = (InternalDeviceOfflineEvent) SERIALIZER.decode(message.payload()); |
1236 | 1236 | ||
1237 | DeviceId deviceId = event.deviceId(); | 1237 | DeviceId deviceId = event.deviceId(); |
... | @@ -1245,7 +1245,7 @@ public class GossipDeviceStore | ... | @@ -1245,7 +1245,7 @@ public class GossipDeviceStore |
1245 | @Override | 1245 | @Override |
1246 | public void handle(ClusterMessage message) { | 1246 | public void handle(ClusterMessage message) { |
1247 | 1247 | ||
1248 | - log.info("Received device removed event from peer: {}", message.sender()); | 1248 | + log.debug("Received device removed event from peer: {}", message.sender()); |
1249 | InternalDeviceRemovedEvent event = (InternalDeviceRemovedEvent) SERIALIZER.decode(message.payload()); | 1249 | InternalDeviceRemovedEvent event = (InternalDeviceRemovedEvent) SERIALIZER.decode(message.payload()); |
1250 | 1250 | ||
1251 | DeviceId deviceId = event.deviceId(); | 1251 | DeviceId deviceId = event.deviceId(); |
... | @@ -1259,7 +1259,7 @@ public class GossipDeviceStore | ... | @@ -1259,7 +1259,7 @@ public class GossipDeviceStore |
1259 | @Override | 1259 | @Override |
1260 | public void handle(ClusterMessage message) { | 1260 | public void handle(ClusterMessage message) { |
1261 | 1261 | ||
1262 | - log.info("Received port update event from peer: {}", message.sender()); | 1262 | + log.debug("Received port update event from peer: {}", message.sender()); |
1263 | InternalPortEvent event = (InternalPortEvent) SERIALIZER.decode(message.payload()); | 1263 | InternalPortEvent event = (InternalPortEvent) SERIALIZER.decode(message.payload()); |
1264 | 1264 | ||
1265 | ProviderId providerId = event.providerId(); | 1265 | ProviderId providerId = event.providerId(); |
... | @@ -1280,9 +1280,8 @@ public class GossipDeviceStore | ... | @@ -1280,9 +1280,8 @@ public class GossipDeviceStore |
1280 | @Override | 1280 | @Override |
1281 | public void handle(ClusterMessage message) { | 1281 | public void handle(ClusterMessage message) { |
1282 | 1282 | ||
1283 | - log.info("Received port status update event from peer: {}", message.sender()); | 1283 | + log.debug("Received port status update event from peer: {}", message.sender()); |
1284 | InternalPortStatusEvent event = (InternalPortStatusEvent) SERIALIZER.decode(message.payload()); | 1284 | InternalPortStatusEvent event = (InternalPortStatusEvent) SERIALIZER.decode(message.payload()); |
1285 | - log.info("{}", event); | ||
1286 | 1285 | ||
1287 | ProviderId providerId = event.providerId(); | 1286 | ProviderId providerId = event.providerId(); |
1288 | DeviceId deviceId = event.deviceId(); | 1287 | DeviceId deviceId = event.deviceId(); | ... | ... |
-
Please register or login to post a comment