use logger vs. print for task outputs