I am one of the many Gradle users thrilled to see configurable logging of test 
cases in Milestone 6. My application uses Logback, and I have this 
configuration in my script:

test {
    useTestNG()
    testLogging.showStandardStreams = true
}

When I run the test, I don't see the logs, which are mostly being generated 
from a logger.debug call, from my tests or the code being tested. The 
interesting thing is that if I set the logging level for say Spring in 
logback.xml to DEBUG, then I see all the Spring log statements but still none 
of mine. So clearly Gradle is seeing my logback.xml in the classpath.

The other interesting thing is that Maven generates all the logging as 
configured in logback.xml.

Any insight into possible reasons why my application logs aren't showing up 
while others are is appreciated.

Thanks.

Reply via email to