[logback-user] Logging and test coverage

Robert Elliot rob at lidalia.org.uk
Wed Feb 25 20:36:15 CET 2009


Probably pointing out the obvious, but running all the tests twice,  
with logging turned off on one run and logging at trace level on the  
other, seems like would be a solution. It shouldn't be too hard to  
configure a couple of JUnit suites which set up logback in two  
different ways prior to running.

Doubles the test run time, of course, but you could configure it so  
that that only occurs on the continuous integration server rather than  
for developer runs.


More information about the Logback-user mailing list