Page MenuHomePhabricator
Paste P12023

Masterwork From Distant Lands
ActivePublic

Authored by CDanis on Jul 22 2020, 8:22 PM.
loglevel = logging.WARNING
if args.verbose >= 1:
loglevel = logging.DEBUG
if args.verbose >= 2:
HTTPConnection.debuglevel = 1
requests_log = logging.getLogger('urllib3')
requests_log.setLevel(loglevel)
requests_log.propagate = True
logging.basicConfig(level=loglevel)

Event Timeline

CDanis edited the content of this paste. (Show Details)Jul 22 2020, 8:22 PM
CDanis changed the title of this paste from untitled to Masterwork From Distant Lands.