gatling.conf can’t do anything about logging, logback.xml can.
What’s the difference between editing gatling.conf instead of editing logback.xml?
Then, you know you can use System properties in your logback.xml, right?
What do I need to put in my code, instead of “println()” in order to log to the DEBUG level, so that my debug output is only output when the logging level is set to DEBUG or lower?
The link you sent says it requires Scala 2.11. Gatling ships with Scala 2.10. But that’ can’t be the problem, because…
I looked at the source code of Gatling, e.g. gatling-core/src/main/scala/io/gatling/core/session/Session.scala,
it imports com.typesafe.scalalogging.StrictLogging, and then just extends StrictLogging, exactly like the website you linked to,
but when I do that, I get a compile error:
`
09:37:24.697 [ERROR] i.g.a.ZincCompiler$ - /src/poc/rtde/src/scala/com/cigna/common/SessionManagement.scala:4: object StrictLogging is not a member of package com.typesafe.scalalogging
09:37:24.700 [ERROR] i.g.a.ZincCompiler$ - import com.typesafe.scalalogging.StrictLogging
09:37:24.701 [ERROR] i.g.a.ZincCompiler$ - ^