From 7479e320ee1f9577b40799b20a905b4f55f92f58 Mon Sep 17 00:00:00 2001 From: Christoph Stichlberger Date: Wed, 23 Oct 2019 17:01:44 +0200 Subject: [PATCH] Turn subscription publishing loglevel down - the Info level for publishing subscriptions is quite noisy - previously this wasn't a problem because subscription processing was buffered, now the message is logged for nearly every single un/subscription that is made - all other frequently recurring log events are also on level Verbose --- Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs b/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs index 9dc1ba4..89efe6b 100644 --- a/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs +++ b/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs @@ -475,7 +475,7 @@ namespace MQTTnet.Extensions.ManagedClient continue; } - _logger.Info("Publishing subscriptions"); + _logger.Verbose($"Publishing subscriptions ({subscriptions.Count} subscriptions and {unsubscriptions.Count} unsubscriptions)"); foreach (var unsubscription in unsubscriptions) {