From c27d16b46362becbe975f6c0a2e2acfe88139143 Mon Sep 17 00:00:00 2001 From: Will Sargent Date: Tue, 6 Sep 2022 01:14:49 -0700 Subject: [PATCH] Fix references to Log (#31556) The `akka.stream.Log` class referenced does not exist, it uses `akka.event.Logging` https://github.com/akka/akka/blob/main/akka-stream/src/main/scala/akka/stream/impl/fusing/Ops.scala#L1509 and https://github.com/akka/akka/blob/main/akka-stream/src/main/scala/akka/stream/impl/fusing/Ops.scala#L1629 --- akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala b/akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala index 38d2aa9e22..aed167c56d 100755 --- a/akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala +++ b/akka-stream/src/main/scala/akka/stream/scaladsl/Flow.scala @@ -2663,7 +2663,7 @@ trait FlowOps[+Out, +Mat] { * This can be adjusted according to your needs by providing a custom [[Attributes.LogLevels]] attribute on the given Flow: * * Uses implicit [[LoggingAdapter]] if available, otherwise uses an internally created one, - * which uses `akka.stream.Log` as it's source (use this class to configure slf4j loggers). + * which uses `akka.event.Logging(materializer.system, materializer)` as its source (use this class to configure slf4j loggers). * * Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute. * @@ -2686,7 +2686,7 @@ trait FlowOps[+Out, +Mat] { * This can be adjusted according to your needs by providing a custom [[Attributes.LogLevels]] attribute on the given Flow: * * Uses implicit [[MarkerLoggingAdapter]] if available, otherwise uses an internally created one, - * which uses `akka.stream.Log` as it's source (use this class to configure slf4j loggers). + * which uses `akka.event.Logging.withMarker(materializer.system, materializer)` as its source (use this class to configure slf4j loggers). * * Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute. *