Added logging to settings.