adding log for post index