code: def configure_file_logger(name, log_dir, log_level=logging.DEBUG):
      
      from .srothandler import SizeRotatingFileHandler
  
      root = logging.getLogger()
      root.setLevel(log_level)
      handler = SizeRotatingFileHandler(os.path.join(log_dir, '%s.log' % name))
      handler.setLevel(log_level)
      handler.setFormatter(logging.Formatter(LOG_FORMAT_STANDARD))
  
      root.addHandler(handler)
docs: Configures logging to use the :class:`SizeRotatingFileHandler`