Move settingslocal and add ability to log

Should these log statements be left in?