Bläddra i källkod

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 år sedan
förälder
incheckning
7479e320ee
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs

+ 1
- 1
Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs Visa fil

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


Laddar…
Avbryt
Spara