alternative way for debugging while extraInfoExtractor has been removed from code?

extraInfoExtractor has been removed from the code (https://github.com/gatling/gatling/issues/3417) but we were using it to debug request information when it failed.
Would someone please advise me in an alternative way to achieve the same?
Thanks in advance!

Does his help? https://gatling.io/docs/current/general/debugging/

Hi Stephane,

I probably deserved that answer by not specifying the context :slight_smile:
Our use case is as follows: during a loadtest we would like to debug log ONLY the requests that are failing (and not all requests). For that purpose the extraInfoExtractor worked flawlessly for us. For instance conditionally based on HTTP status code we did the logging.
Do you see an alternative?

Regards,
Okke

No pawn intended, honestly.
The proper way to debug is to lower logging level in logback.xml.

<!-- set to DEBUG to log all failing requests -->
<!-- set to TRACE to log all requests -->
<logger name="io.gatling.http.response" level="WARN" />

Cheers,

Hi!

I’ve just installed v3.0.0RC2, using it with idea ide. I can’t get any logs while configuring logback.xml. The config is as follows:

`

<?xml version="1.0" encoding="UTF-8"?> %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx false

`

With version 2.3 the same config works perfectly.
Any suggestions, please?

My bad, the proper logger is io.gatling.http.engine.response

Hey, Stephen, I edited config, everything is fine now.
Please consider that in 3.0.0-RC2 bundle the config is also wrong atm.

Already fixed: https://github.com/gatling/gatling/issues/3538