def print_contents(self, loglevel="VDEBUG"): ResourceReservation.print_contents(self, loglevel) logger = logging.getLogger("LEASES") logger.log(loglevel, "Type : FILE TRANSFER") logger.log(loglevel, "Deadline : %s" % self.deadline) logger.log(loglevel, "File : %s" % self.file) logger.log(loglevel, "Transfers : %s" % self.transfers)
def print_contents(self, loglevel=constants.LOGLEVEL_VDEBUG): logger = logging.getLogger("LEASES") logger.log(loglevel, "Type : DISK IMAGE MIGRATION") logger.log(loglevel, "Transfers : %s" % self.transfers) ResourceReservation.print_contents(self, loglevel)