-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Mongo construction should log as much info as possible, in order to help people with debugging. Something like:
Created Mongo instance (driver version 2.11.0-SNAPSHOT) with authority MongoAuthority{serverAddress=/127.0.0.1:27017, credentialsStore=MongoCredentialsStore{credentialsMap={}}} and options MongoOptions{description='null', connectionsPerHost=10, threadsAllowedToBlockForConnectionMultiplier=5, maxWaitTime=120000, connectTimeout=10000, socketTimeout=0, socketKeepAlive=false, autoConnectRetry=false, maxAutoConnectRetryTime=0, slaveOk=false, readPreference=null, dbDecoderFactory=DefaultDBDecoder.DefaultFactory, dbEncoderFactory=DefaultDBEncoder.DefaultFactory, safe=false, w=0, wtimeout=0, fsync=false, j=false, socketFactory=javax.net.DefaultSocketFactory@307b4703, cursorFinalizerEnabled=true, writeConcern=null, alwaysUseMBeans=false}