From 358f9e4baf1c99428906521ee9afecd19a9b2954 Mon Sep 17 00:00:00 2001 From: Apoorv Darshan Date: Tue, 17 Feb 2026 21:40:21 +0530 Subject: [PATCH] Downgrade VirtualPathContainer RemoveChild log from Warning to Debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /temp VirtualPathContainer logs "trying to remove non-child" at Warning level when ConcurrentDictionary.TryRemove returns false. This is expected, benign behavior during concurrent Ask operations — it simply means the entry was already removed. Logging it as Warning creates noise during load testing. Fixes #8037 --- src/core/Akka/Actor/ActorRef.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Akka/Actor/ActorRef.cs b/src/core/Akka/Actor/ActorRef.cs index f55b6f0e82c..6eb6d35c190 100644 --- a/src/core/Akka/Actor/ActorRef.cs +++ b/src/core/Akka/Actor/ActorRef.cs @@ -879,7 +879,7 @@ public void RemoveChild(string name) IInternalActorRef tmp; if (!_children.TryRemove(name, out tmp)) { - Log.Warning("{0} trying to remove non-child {1}", Path, name); + Log.Debug("{0} trying to remove non-child {1}", Path, name); } } @@ -893,7 +893,7 @@ public void RemoveChild(string name, IActorRef child) IInternalActorRef tmp; if (!_children.TryRemove(name, out tmp)) { - Log.Warning("{0} trying to remove non-child {1}", Path, name); + Log.Debug("{0} trying to remove non-child {1}", Path, name); } }