Skip to content

Commit 7811504

Browse files
authored
Fix ActorMaterializerImpl null LogSource (#7300)
1 parent f2e81c5 commit 7811504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/Akka.Streams/Implementation/ActorMaterializerImpl.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ public override ILoggingAdapter MakeLogger(object logSource)
390390
LogSource newSource;
391391
if (logSource is not LogSource s)
392392
{
393-
actorPath = $"{s}({LogSource.FromActorRef(_supervisor, System)})";
394-
newSource = LogSource.Create(actorPath, s.Type);
393+
actorPath = $"{logSource}({LogSource.FromActorRef(_supervisor, System)})";
394+
newSource = LogSource.Create(actorPath, logSource.GetType());
395395
return Logging.GetLogger(System, newSource);
396396
}
397397

0 commit comments

Comments
 (0)