CFY-1771 added logs for debug.