This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-sandbox.git
The following commit(s) were added to refs/heads/main by this push:
new 9ff4536 [GATLING] Add in logback configuration to silence http
traffic (#125)
9ff4536 is described below
commit 9ff4536ba89cdff353edb933436921eb2c5e7dfe
Author: Eric Pugh <[email protected]>
AuthorDate: Wed Oct 15 08:04:31 2025 -0400
[GATLING] Add in logback configuration to silence http traffic (#125)
* add in logback configuration to silence http traffic
* Dial back what is filtered. The DEBUG level is really slowing things
down.
---
.../src/gatling/resources/logback.xml | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gatling-simulations/src/gatling/resources/logback.xml
b/gatling-simulations/src/gatling/resources/logback.xml
new file mode 100644
index 0000000..cd7dcca
--- /dev/null
+++ b/gatling-simulations/src/gatling/resources/logback.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <!-- Console appender for all logs -->
+ <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} -
%msg%n%rEx</pattern>
+ </encoder>
+ </appender>
+
+ <!-- Silence HTTP traffic loggers -->
+ <logger name="io.gatling.http" level="INFO" />
+ <logger name="io.gatling.http.engine" level="INFO" />
+ <logger name="io.gatling.http.response" level="INFO" />
+ <logger name="io.gatling.http.ahc" level="INFO" />
+ <logger name="io.netty" level="INFO" />
+ <logger name="org.asynchttpclient" level="INFO" />
+
+ <!-- Other potentially verbose loggers -->
+ <logger name="io.gatling.http.cache" level="INFO" />
+ <logger name="io.gatling.http.cookie" level="INFO" />
+ <logger name="io.gatling.http.util" level="INFO" />
+
+ <!-- Configure root logger -->
+ <root level="INFO">
+ <appender-ref ref="CONSOLE" />
+ </root>
+</configuration>