def verify_log(opts):
 level = LOG_LEVELS.get(str(opts.get('log_level')).lower(), logging.NOTSET)
 if (level < logging.INFO):
  log.warning('Insecure logging configuration detected! Sensitive data may be logged.')

def verify_log ( opts ) : level = LOG_LEVELS . get ( str ( opts . get ( 'log_level' ) ) . lower ( ) , logging . NOTSET ) if ( level < logging . INFO ) : log . warning ( 'Insecure logging configuration detected! Sensitive data may be logged.' )
if an insecre logging configuration is found .