in remove-apache-license-identifier.py [0:0]
def configure_logging(args):
# Logging is configured by the first invocation of logging.basicConfig
fmt = '%(levelname)s: %(message)s'
if args.debug:
logging.basicConfig(level=logging.DEBUG, format=fmt)
if args.verbose:
logging.basicConfig(level=logging.INFO, format=fmt)
logging.basicConfig(format=fmt)