All I see in the console is that the build is successful. The TestNG report 
generated simply contains the test result--the name of the test, the time it 
took to run, the result, etc.

There is a lot of logging going on, and I don't see any errors related to the 
logging configuration file not being found. Therefore, it would seem that file 
is in the classpath of the test. And since it all runs, the logger itself must 
be in the classpath as well.

Let me know if I can provide further information.

Thanks.


On Feb 18, 2011, at 10:22 PM, Merlyn Albery-Speyer wrote:

Does the output show up in the test report?

On Feb 18, 2011, at 4:19 PM, Neil Chaudhuri wrote:

I have an application with a lot of logging (using SLF4J and Logback), and I am 
running a test that is failing to see what the debug logs tell me. 
Unfortunately, when I run my test as follows

clean test –S -Dtest.single=MyTest

I don’t see any of the application log messages. I do see them when I run my 
tests via Maven’s Surefire plugin.

Note that I am not interested in seeing Gradle’s logging for now but simply the 
log messages from my own code.

I am sure that there is something silly in my configuration, but any insight is 
appreciated.

Thanks.


Reply via email to