ソースを参照

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


読み込み中…
キャンセル
保存