docs: def _setup_logging(args):
      """
      Set up logging for the script, based on the configuration
      specified by the 'logging' attribute of the command line
      arguments.
  
      :param args: A Namespace object containing a 'logging' attribute
                   specifying the name of a logging configuration file
                   to use.  If not present or not given, a basic logging
                   configuration will be set.
      """
  
      log_conf = getattr(args, 'logging', None)
      if log_conf:
          logging.config.fileConfig(log_conf)
      else:
          logging.basicConfig()