def setVerbosity():
 if (conf.verbose is None):
  conf.verbose = 1
 conf.verbose = int(conf.verbose)
 if (conf.verbose == 0):
  logger.setLevel(logging.ERROR)
 elif (conf.verbose == 1):
  logger.setLevel(logging.INFO)
 elif ((conf.verbose > 2) and conf.eta):
  conf.verbose = 2
  logger.setLevel(logging.DEBUG)
 elif (conf.verbose == 2):
  logger.setLevel(logging.DEBUG)
 elif (conf.verbose == 3):
  logger.setLevel(CUSTOM_LOGGING.PAYLOAD)
 elif (conf.verbose == 4):
  logger.setLevel(CUSTOM_LOGGING.TRAFFIC_OUT)
 elif (conf.verbose >= 5):
  logger.setLevel(CUSTOM_LOGGING.TRAFFIC_IN)

def setVerbosity ( ) : if ( conf . verbose is None ) : conf . verbose = 1 conf . verbose = int ( conf . verbose ) if ( conf . verbose == 0 ) : logger . setLevel ( logging . ERROR ) elif ( conf . verbose == 1 ) : logger . setLevel ( logging . INFO ) elif ( ( conf . verbose > 2 ) and conf . eta ) : conf . verbose = 2 logger . setLevel ( logging . DEBUG ) elif ( conf . verbose == 2 ) : logger . setLevel ( logging . DEBUG ) elif ( conf . verbose == 3 ) : logger . setLevel ( CUSTOM_LOGGING . PAYLOAD ) elif ( conf . verbose == 4 ) : logger . setLevel ( CUSTOM_LOGGING . TRAFFIC_OUT ) elif ( conf . verbose >= 5 ) : logger . setLevel ( CUSTOM_LOGGING . TRAFFIC_IN )
this function set the verbosity of sqlmap output messages .