[SBT] Set Gatling Logging Level From Command Line

266 views
Skip to first unread message

Mahesh Mothukuri

unread,
Apr 16, 2021, 1:10:57 AM4/16/21
to Gatling User Group
Hello People,

I'm able to change logging level of Gatling by updating "logback.xml" file, but is there any JAVA_OPT or GATLING_OPT parameter to change log level via command line for "sbt" like 

JAVA_OPTS="-DLOG_LEVEL=DEBUG"

/Mahesh

Sébastien BREVET

unread,
Apr 16, 2021, 3:11:24 AM4/16/21
to gat...@googlegroups.com
Hi,


Hope it helps.

Cheers!

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/5339adc2-e275-4783-94a4-c4b4a3265df3n%40googlegroups.com.


--
LogoSébastien BREVET
Backend engineer
site: gatling.io

Mahesh Mothukuri

unread,
Apr 16, 2021, 6:45:29 AM4/16/21
to gat...@googlegroups.com
Thanks for the suggestion, it helped

<root level="${LOG_LEVEL:-INFO}">
<appender-ref ref="CONSOLE" />
</root>
export JAVA_OPTS=-DLOG_LEVEL=DEBUG"

/Mahesh

Reply all
Reply to author
Forward
0 new messages