'Add tokens and passwords to blacklisted words in logger'

def _blacklist(self):

    blacklist = []
    for (key, subkeys) in self._config.iteritems():
        for (subkey, value) in subkeys.iteritems():
            if (isinstance(value, basestring) and (len(value.strip()) > 5) and (subkey.upper() not in _WHITELIST_KEYS) and any(((bk in subkey.upper()) for bk in _BLACKLIST_KEYS))):
                blacklist.append(value.strip())
    logger._BLACKLIST_WORDS = blacklist
