Pārlūkot izejas kodu

Change log level of retained message changes.

release/3.x.x
Christian Kratky pirms 6 gadiem
vecāks
revīzija
70f4dc9e10
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      Source/MQTTnet/Server/MqttRetainedMessagesManager.cs

+ 2
- 2
Source/MQTTnet/Server/MqttRetainedMessagesManager.cs Parādīt failu

@@ -93,7 +93,7 @@ namespace MQTTnet.Server
if (applicationMessage.Payload?.Length == 0)
{
saveIsRequired = _messages.Remove(applicationMessage.Topic);
_logger.Info("Client '{0}' cleared retained message for topic '{1}'.", clientId, applicationMessage.Topic);
_logger.Verbose("Client '{0}' cleared retained message for topic '{1}'.", clientId, applicationMessage.Topic);
}
else
{
@@ -111,7 +111,7 @@ namespace MQTTnet.Server
}
}

_logger.Info("Client '{0}' set retained message for topic '{1}'.", clientId, applicationMessage.Topic);
_logger.Verbose("Client '{0}' set retained message for topic '{1}'.", clientId, applicationMessage.Topic);
}
}



Notiek ielāde…
Atcelt
Saglabāt