Print response details only in case of failures

I’m using Gatling 3. Below is what my logback.xml looks like. The problem is that while this serves the purpose, it also prints a lot of other details too on the console which I do not really need.

I tried tweaking the levels to ERROR, TRACE, WARN, etc. but the response details are not printed in any of those cases.

Am I missing something?

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender" immediateFlush="false">
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
        </encoder>
    </appender>
    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
        <file>../gatling.log</file>
        <append>true</append>
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern>
        </encoder>
    </appender>
    <!-- Uncomment for logging ALL HTTP request and responses -->
    <!--  <logger name="io.gatling.http.ahc" level="TRACE" /> -->
    <!--   <logger name="io.gatling.http.response" level="TRACE" /> -->
    <!-- Uncomment for logging ONLY FAILED HTTP request and responses -->
    <logger name="io.gatling.http.ahc" level="DEBUG"/>
    <logger name="io.gatling.http.response" level="DEBUG"/>
    <root level="WARN">
        <appender-ref ref="CONSOLE"/>
    </root>
    <root level="DEBUG">
        <appender-ref ref="FILE" />
    </root>
</configuration>