Logging must be OFF in test.