WriteSettingsToLog()