Added logging to settings