code: def set_filename(self, filename):
          
          self.filename = filename
          self.logger = logging.getLogger(filename)
docs: Set the filename, and a logger derived from it.
  
          The main refactoring tool should call this.