SLF4J bindings problem in 2.2.5 version

Hi,

I have 2 problems when upgrated to 2.2.5 :

  • First, SLF4J bindings problem was log when launch test simulation :

....../gatling/bin> ./gatling.sh GATLING_HOME is set to ..../gatling SLF4J: No SLF4J providers were found. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details. SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior to 1.8. SLF4J: Ignoring binding found at [jar:file:/i7h/i7hadm/tmc/gatling/lib/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.

  • Secondly, Report cannot be generated when simulation finished cause of NOPLoggerFactory Casting :

`
Reports generated in 1s.
Please open the following file: …/results/simulation-1493279241036/index.html
Exception in thread “main” java.lang.ClassCastException: org.slf4j.helpers.NOPLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
at io.gatling.app.Gatling$.start(Gatling.scala:66)
at io.gatling.app.Gatling$.fromArgs(Gatling.scala:43)
at io.gatling.app.Gatling$.main(Gatling.scala:35)
at io.gatling.app.Gatling.main(Gatling.scala)

`

Any Idea ?

Hi,

Please see: https://github.com/gatling/gatling/issues/3290

Cheers,