If reuse is set to false every handler will have it's own MongoClient.
This could hammer down your MongoDB instance, but you can still use this option.
The default is True. As such a program with multiple handlers that log to mongodb will have those handlers share a single connection to MongoDB.
Added option to reuse connections.
If reuse is set to false every handler will have it's own MongoClient. This could hammer down your MongoDB instance, but you can still use this option.
The default is True. As such a program with multiple handlers that log to mongodb will have those handlers share a single connection to MongoDB.