23
Sep
2011
Sep
2011
0
Capturing Log4j logging output
Lets say that you need to verify that a certain logging message gets printed in a unit-test. Then the first step is to pause and ask yourself: do I really need to do this? Unit-tests involving text matching are particularly … Continue reading