Browse Source
Merge pull request #10069 from yantarou/jan_fix_MqttTransportHandler_exceptionCaught_debug_message
Fix debug log message in MqttTransportHandler:exceptionCaught()
pull/11606/head
Andrew Shvayka
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/MqttTransportHandler.java
|
|
|
@ -1063,6 +1063,7 @@ public class MqttTransportHandler extends ChannelInboundHandlerAdapter implement |
|
|
|
log.debug("[{}][{}][{}] IOException: {}", sessionId, |
|
|
|
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceId).orElse(null), |
|
|
|
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceName).orElse(""), |
|
|
|
cause.getMessage(), |
|
|
|
cause); |
|
|
|
} else if (log.isInfoEnabled()) { |
|
|
|
log.info("[{}][{}][{}] IOException: {}", sessionId, |
|
|
|
|