fix task logger