<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_pump_status(self, status):
 """ Updates pump status and logs update to console. """

        self.pump_status = status
        _logger.info("%r partition %r", status, self.lease.partition_id)