update task to create log dir