From 507e5602468a72b33508c57ad01e4d0a5058a38e Mon Sep 17 00:00:00 2001 From: Andre Kurait Date: Sat, 4 May 2024 01:20:06 -0500 Subject: [PATCH] Update AsyncLogger.WaitStrategy to Block to fix high CPU Signed-off-by: Andre Kurait Signed-off-by: Andre Kurait --- .../src/main/resources/log4j2.component.properties | 2 +- .../src/main/resources/log4j2.component.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TrafficCapture/trafficCaptureProxyServer/src/main/resources/log4j2.component.properties b/TrafficCapture/trafficCaptureProxyServer/src/main/resources/log4j2.component.properties index 62c51de25..ac861dd4b 100644 --- a/TrafficCapture/trafficCaptureProxyServer/src/main/resources/log4j2.component.properties +++ b/TrafficCapture/trafficCaptureProxyServer/src/main/resources/log4j2.component.properties @@ -1,2 +1,2 @@ Log4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -AsyncLogger.WaitStrategy=Yield \ No newline at end of file +AsyncLogger.WaitStrategy=Block \ No newline at end of file diff --git a/TrafficCapture/trafficReplayer/src/main/resources/log4j2.component.properties b/TrafficCapture/trafficReplayer/src/main/resources/log4j2.component.properties index 62c51de25..ac861dd4b 100644 --- a/TrafficCapture/trafficReplayer/src/main/resources/log4j2.component.properties +++ b/TrafficCapture/trafficReplayer/src/main/resources/log4j2.component.properties @@ -1,2 +1,2 @@ Log4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -AsyncLogger.WaitStrategy=Yield \ No newline at end of file +AsyncLogger.WaitStrategy=Block \ No newline at end of file