From 70f4dc9e1066a4bdb984df2b25e55f0b18aee4aa Mon Sep 17 00:00:00 2001 From: Christian Kratky Date: Fri, 28 Sep 2018 22:51:05 +0200 Subject: [PATCH] Change log level of retained message changes. --- Source/MQTTnet/Server/MqttRetainedMessagesManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/MQTTnet/Server/MqttRetainedMessagesManager.cs b/Source/MQTTnet/Server/MqttRetainedMessagesManager.cs index 86c321f..6a515a1 100644 --- a/Source/MQTTnet/Server/MqttRetainedMessagesManager.cs +++ b/Source/MQTTnet/Server/MqttRetainedMessagesManager.cs @@ -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); } }