def setup_logging(args):
handler = logging.StreamHandler()<EOL>handler.setLevel(args.log_level)<EOL>formatter = logging.Formatter(('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'))<EOL>handler.setFormatter(formatter)<EOL>LOGGER.addHandler(handler)<EOL>
This sets up the logging.

Needs the args to get the log level supplied
:param args: The command line arguments