setLogger renamed to setTaskLogger