Add log to observe time consuming