Преглед изворни кода

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
release/3.x.x
Christoph Stichlberger пре 5 година
родитељ
комит
7479e320ee
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs

+ 1
- 1
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)
{


Loading…
Откажи
Сачувај