code: def remove_all_handler(self):
          
          for handler in self.logger.handlers[:]:
              self.logger.removeHandler(handler)
              self._handler_cache.append(handler)
docs: Unlink the file handler association.