jesmith17 commented on code in PR #3322:
URL: https://github.com/apache/logging-log4j2/pull/3322#discussion_r1958841613


##########
src/site/antora/modules/ROOT/examples/manual/appenders/database/nosql-mongo-keys.json:
##########


Review Comment:
   I would challenge that a bit. The link you provided shows that the database 
name you can provide is the `defaultAuthDB` which is different from the DB that 
you connect to for operations. But even so, the connection string (regardless 
of if you provide a DB or not) still gives you back a MongoClient object and 
you have to specify via the `getDatabase()` which DB you want to connect to. 
Same for the collection.  So those are effectively ignored attributes on the 
connection string



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to