code: def set_logger(self, **fields):
          
          names = [self.__module__, self.__class__.__name__]
          for field, value in sorted(fields.items()):
              names.append(value)
          # names should be something like this for one field:
          #   ["malcolm.modules.scanning.controllers.runnablecontroller",
          #    "RunnableController", "BL45P-ML-SCAN-01"]
          self.log = logging.getLogger(".".join(names))
          if fields:
              self.log.addFilter(FieldFilter(fields))
          return self.log
docs: Change the name of the logger that log.* should call
  
          Args:
              **fields: Extra fields to be logged. Logger name will be:
                  ".".join([<module_name>, <cls_name>] + fields_sorted_on_key)