Add task to log handler