use settings_to_log function from settings module