Skip to content

Commit

Permalink
Fix ActorMaterializerImpl null LogSource
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus committed Jul 24, 2024
1 parent f2e81c5 commit 443fc32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Akka.Streams/Implementation/ActorMaterializerImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ public override ILoggingAdapter MakeLogger(object logSource)
LogSource newSource;
if (logSource is not LogSource s)
{
actorPath = $"{s}({LogSource.FromActorRef(_supervisor, System)})";
newSource = LogSource.Create(actorPath, s.Type);
actorPath = $"{logSource}({LogSource.FromActorRef(_supervisor, System)})";
newSource = LogSource.Create(actorPath, logSource.GetType());
return Logging.GetLogger(System, newSource);
}

Expand Down

0 comments on commit 443fc32

Please sign in to comment.