add logger for debug, and get the food list