fix logging batch tasks and change log