Expanded on the DEBUG logging.