I’m creating some integration tests for an app using Logback and for some reason Logback doesn’t behave as expected. The same file works outside the integration tests and those tests are set up in a way that the same dir structure, current working dir etc. is provided like outside the tests. Logback allows enabling some debugging during parsing its log file, but I don’t get any output on the shell, I guess because Gradle creates another JVM running the tests.
So how can I get output to STDOUT or STDERR of the invoked JVM? Is there some additional way within the tests to output easily low level on STDOUT/STDERR? I don’t seem to get any
System.out.println(...) on the shell.