Revert "modify print to logger.debug"

This reverts commit ed7f2017182bf7e9eb722def8affcc2ab559f5a1.