From cd24da40f3b560ffdb58012de90e1b5185a34b24 Mon Sep 17 00:00:00 2001 From: Ziya Suzen Date: Fri, 5 Sep 2025 13:11:31 +0100 Subject: [PATCH] Reduce log noise unregistered inbox messages This usually happens receiving a message from the server after the client times out waiting to receive it. It is expected and not helpful since the subject is random inbox name and impossible to track down or make any sense of it. --- src/NATS.Client.Core/Internal/InboxSub.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NATS.Client.Core/Internal/InboxSub.cs b/src/NATS.Client.Core/Internal/InboxSub.cs index f2f1b3cfb..94118f9cf 100644 --- a/src/NATS.Client.Core/Internal/InboxSub.cs +++ b/src/NATS.Client.Core/Internal/InboxSub.cs @@ -123,7 +123,7 @@ public async ValueTask ReceivedAsync(string subject, string? replyTo, ReadOnlySe { if (!_bySubject.TryGetValue(subject, out var subTable)) { - _logger.LogWarning(NatsLogEvents.InboxSubscription, "Unregistered message inbox received for {Subject}", subject); + _logger.LogTrace(NatsLogEvents.InboxSubscription, "Unregistered message inbox received for {Subject}", subject); return; }