Replaces all remaining print() calls in compress() with logger.info() and logger.warning() for consistency with the rest of the module. Inspired by PR #1822.
Replaces all remaining print() calls in compress() with logger.info() and logger.warning() for consistency with the rest of the module. Inspired by PR #1822.