Argument Parsing Quickly solicit log level info from command-line parameters: parser = argparse.ArgumentParser() jaraco.logging.add_arguments(parser) args = parser.parse_args() jaraco.logging.setup(args)