def _setup_logging(args):
log_conf = getattr(args, '<STR_LIT>', None)<EOL>if log_conf:<EOL><INDENT>logging.config.fileConfig(log_conf)<EOL><DEDENT>else:<EOL><INDENT>logging.basicConfig()<EOL><DEDENT>
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.