add some log for index writer