Disable logging temporarily when running testRegistrationAfterShutdown