MODE-2357: Replace err out with logger