code: def _get_size_file_hdlr(config):
      size_rotating_handler = logging.handlers.RotatingFileHandler(
          filename=config.filename,
          maxBytes=config.file_max_size,
          backupCount=config.backup_count,
          encoding="utf-8",
          delay=True,
      )
      size_rotating_handler.setFormatter(formatter)
      size_rotating_handler.setLevel(config.file_level)
      size_rotating_handler.set_name("size_rotating_file")
  
      return size_rotating_handler
  
imports: import logging
  from towhee.config.log_config import LogConfig
label_desc: Use image node_id 2 for calling a global function with example usage: _get_size_file_hdlr(config) and returns: size_rotating_handler