Don't log during shutdown.