Changed print's to logger_debug's.