Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -255,7 +255,7 @@ public class DefaultDeviceStateService extends TbApplicationEventListener<Partit |
255 | 255 | save(deviceId, ACTIVITY_STATE, false); |
256 | 256 | callback.onSuccess(); |
257 | 257 | } else { |
258 | - log.warn("[{}][{}] Device belongs to external partition. Probably rebalancing is in progress. Topic: {}" | |
258 | + log.debug("[{}][{}] Device belongs to external partition. Probably rebalancing is in progress. Topic: {}" | |
259 | 259 | , tenantId, deviceId, tpi.getFullTopicName()); |
260 | 260 | callback.onFailure(new RuntimeException("Device belongs to external partition " + tpi.getFullTopicName() + "!")); |
261 | 261 | } |
... | ... | @@ -440,7 +440,7 @@ public class DefaultDeviceStateService extends TbApplicationEventListener<Partit |
440 | 440 | deviceIds.add(state.getDeviceId()); |
441 | 441 | deviceStates.put(state.getDeviceId(), state); |
442 | 442 | } else { |
443 | - log.warn("Device belongs to external partition {}" + tpi.getFullTopicName()); | |
443 | + log.debug("[{}] Device belongs to external partition {}", state.getDeviceId(), tpi.getFullTopicName()); | |
444 | 444 | throw new RuntimeException("Device belongs to external partition " + tpi.getFullTopicName() + "!"); |
445 | 445 | } |
446 | 446 | } | ... | ... |