Przeglądaj źródła

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 lat temu
rodzic
commit
7479e320ee
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs

+ 1
- 1
Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs Wyświetl plik

@@ -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)
{


Ładowanie…
Anuluj
Zapisz