Merge "mongodb, db2: do not print full URL in logs"
This commit is contained in:
commit
fe158993bb
@ -153,7 +153,8 @@ class ConnectionPool(object):
|
||||
client = self._pool.get(pool_key)()
|
||||
if client:
|
||||
return client
|
||||
LOG.info('connecting to MongoDB on %s', url)
|
||||
LOG.info(_('Connecting to DB2 on %s'),
|
||||
connection_options['nodelist'])
|
||||
client = pymongo.MongoClient(
|
||||
url,
|
||||
safe=True)
|
||||
|
@ -155,7 +155,8 @@ class ConnectionPool(object):
|
||||
client = self._pool.get(pool_key)()
|
||||
if client:
|
||||
return client
|
||||
LOG.info('connecting to MongoDB on %s', url)
|
||||
LOG.info(_('Connecting to MongoDB on %s'),
|
||||
connection_options['nodelist'])
|
||||
client = pymongo.MongoClient(
|
||||
url,
|
||||
safe=True)
|
||||
|
Loading…
Reference in New Issue
Block a user