Hi I notice in the code that Gatling uses StrictLogging.
This means that the args will be evaluated even if we don’t use it.
Also this log call blocks on writing to the Console… this is massively impacting my Scenario which uses Pause() because pause logs at Info level (should it not be at trace or debug?)
Also I’m currently testing using sbt-gatling, any idea how I can set LogLevel to Warn in the mean time so I can run my scenario without Pause spitting out so much log?
IMHO, useless if you don't use logging intensively, which we don't.
Also I'm currently testing using sbt-gatling, any idea how I can set
LogLevel to Warn in the mean time so I can run my scenario without Pause
spitting out so much log?
You probably lack add a logback.xml or logback-test.xml file, right?
I really think that logging the fact that the Pause was passing should be at debug or lower in Pause.scala, after all when a user is creating(debugging) his own scenario he may want info comming off his own code, whith Pause logging at info level , my test really slowed down… try it. write a scenario where a number of users say 1000 do something then pause for 0.5 seconds, in a Loop(10) say… be at info logging level. time your test, then do the same without logging… massive difference eh!? I think that the core components should not spew anything out unless there is a problem.
PS you are right, I don’t have a logback.xml or logback-test.xml thanks