#NEWLINE# def _setup_logging( self , debug ) : #NEWLINE# #INDENT# log_lvl = ( logging . DEBUG if debug else logging . WARNING ) #NEWLINE# logging . basicConfig ( format = '%(levelname)s (%(module)s) %(message)s' , level = debug ) #NEWLINE# logging . getLogger ( 'iso8601' ) . setLevel ( logging . WARNING ) #NEWLINE# logging . getLogger ( 'urllib3.connectionpool' ) . setLevel ( logging . WARNING )