update log statement according to review