Gold futures log highest settlement in about 5 weeks