Don't print logging during unittests.