Gateway config now persists data, deeper logging.