Disable logging temporarily when running testRegistrationAfterShutdown2