Search code examples
c#.netazureazureservicebus

Why Service Bus link logs appeared?


After some period of time I started to receive such logs. I didn't make any changes to log level. Moreover, it was a bit long time from when I updated Azure.Messaging.ServiceBus package. Does anybody faced with such logs and also why it is happening? Thank you in advance.

Packages and version:

"Azure.Messaging.ServiceBus" Version="7.11.1"
"Microsoft.Extensions.Logging.Abstractions" Version="7.0.0"
"Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0"
"Microsoft.Extensions.Configuration.Binder" Version="7.0.1"
"Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0"
"Microsoft.Extensions.Azure" Version="1.6.0"
.NET 7

enter image description here

Also used AddAzureClients which enables log forwarding.


Solution

  • The reason of appearing of the logs was LogForwarder. I'm using in my solution ServiceBus and WebPubSub. The injection of WebPubSub was made with AzureSdk which uses LogForwarder. As I don't need AzureSdk I inject only WebPubSubClient and this ends such verbose logs.