Disable logging in tests.