Allow logging in tests.