Переглянути джерело

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


Завантаження…
Відмінити
Зберегти