log for take_pic added