Ensure logging is not shut down after upgrade