Adding username and password options

Updating documentation to show that there are username and password options.
This commit is contained in:
awlawl 2013-01-14 16:39:33 -05:00
Родитель f65edf95d7
Коммит 9170bf9afe
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -30,6 +30,8 @@ The MongoDB transport takes the following options. 'db' is required:
* __safe:__ Boolean indicating if you want eventual consistency on your log messages, if set to true it requires an extra round trip to the server to ensure the write was committed, defaults to true. * __safe:__ Boolean indicating if you want eventual consistency on your log messages, if set to true it requires an extra round trip to the server to ensure the write was committed, defaults to true.
* __host:__ The host running MongoDB, defaults to localhost. * __host:__ The host running MongoDB, defaults to localhost.
* __port:__ The port on the host that MongoDB is running on, defaults to MongoDB's default port. * __port:__ The port on the host that MongoDB is running on, defaults to MongoDB's default port.
* __username:__ The username to use when logging into MongoDB.
* __password:__ The password to use when logging into MongoDB. If you don't supply a username and password it will not use MongoDB authentication.
* __errorTimeout:__ Reconnect timeout upon connection error from Mongo, defaults to 10 seconds (10000). * __errorTimeout:__ Reconnect timeout upon connection error from Mongo, defaults to 10 seconds (10000).
* __timeout:__ Timeout for keeping idle connection to Mongo alive, defaults to 10 seconds (10000). * __timeout:__ Timeout for keeping idle connection to Mongo alive, defaults to 10 seconds (10000).