When I launch my tests in localhost:9000/@tests# in console I can see long-long log with DEBUG log-level. I want to get rid of that. I tried to put to my application.conf
line like:
application.log=INFO
or even this line:
application.log.system.out=off
But it does not work. Maybe I should put log4j setting specially for test context somehow..?
What's your log4j.properties configuration? Most likely you have Debug enabled in there.
If you have this setting enabled:
try to disable it and run the tests to verify this is changing the logs. If that's the issue then modify that line to:
and create the 2 versions of log4j.properties, so you have the right logging level in each.
You can simply prefix those two rules with the "test" id.
And by the way log levels are :
trace
->debug
->info
->warn
->error
->fatal
So when displaying
info
, you are displaying a lot of information.