diff --git a/TrafficCapture/testUtilities/src/testFixtures/java/org/opensearch/migrations/testutils/SimpleNettyHttpServer.java b/TrafficCapture/testUtilities/src/testFixtures/java/org/opensearch/migrations/testutils/SimpleNettyHttpServer.java index 5827417cf0..d2d43a6ef7 100644 --- a/TrafficCapture/testUtilities/src/testFixtures/java/org/opensearch/migrations/testutils/SimpleNettyHttpServer.java +++ b/TrafficCapture/testUtilities/src/testFixtures/java/org/opensearch/migrations/testutils/SimpleNettyHttpServer.java @@ -167,9 +167,7 @@ protected void initChannel(SocketChannel ch) { } pipeline.addLast(new HttpRequestDecoder()); pipeline.addLast(new HttpObjectAggregator(16*1024)); - pipeline.addLast(new LoggingHandler(LogLevel.INFO)); pipeline.addLast(new HttpResponseEncoder()); - pipeline.addLast(new LoggingHandler(LogLevel.WARN)); pipeline.addLast(makeHandlerFromResponseContext(responseBuilder)); } }); diff --git a/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/NettyPacketToHttpConsumer.java b/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/NettyPacketToHttpConsumer.java index 1221dcb497..ae444474d5 100644 --- a/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/NettyPacketToHttpConsumer.java +++ b/TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/datahandlers/NettyPacketToHttpConsumer.java @@ -47,7 +47,7 @@ public class NettyPacketToHttpConsumer implements IPacketFinalizingConsumer PIPELINE_LOGGING_OPTIONAL = Optional.of(LogLevel.INFO); + private static final Optional PIPELINE_LOGGING_OPTIONAL = Optional.empty(); public static final String BACKSIDE_HTTP_WATCHER_HANDLER_NAME = "BACKSIDE_HTTP_WATCHER_HANDLER"; public static final String CONNECTION_CLOSE_HANDLER_NAME = "CONNECTION_CLOSE_HANDLER";