File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
http-core/src/main/scala/org/apache/pekko/http/impl/util Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ package org.apache.pekko.http.impl.util
1919import org .apache .pekko
2020import pekko .annotation .InternalApi
2121import pekko .stream .stage .GraphStageLogic
22- import pekko .event .{ LogSource , LoggingAdapter , NoLogging }
23- import pekko .stream .Materializer
22+ import pekko .event .{ LogSource , LoggingAdapter }
2423
2524// TODO Try to reconcile with what Pekko provides in StageLogging.
2625// We thought this could be removed when https://github.com/akka/akka/issues/18793 had been implemented
@@ -43,10 +42,7 @@ private[pekko] trait StageLoggingWithOverride extends GraphStageLogic {
4342 _log =
4443 logOverride match {
4544 case DefaultNoLogging =>
46- materializer match {
47- case m : Materializer => pekko.event.Logging (m.system, logSource)(LogSource .fromClass)
48- case _ => NoLogging
49- }
45+ pekko.event.Logging (materializer.system, logSource)(LogSource .fromClass)
5046 case x => x
5147 }
5248 case _ =>
You can’t perform that action at this time.
0 commit comments