log4mongo / log4mongo-java

log4j appender to MongoDB database
http://log4mongo.org
Apache License 2.0
80 stars 29 forks source link

Update to mongo-java-driver 2.11.4 #20

Closed undso closed 10 years ago

undso commented 10 years ago

Update for Issue https://github.com/log4mongo/log4mongo-java/issues/19

RobertStewart commented 10 years ago

I'm happy to update the project to a newer version of the Java driver, but I'd rather not switch from the Mongo class to the MongoClient class as part of a minor revision of the appender. The reason for that is that MongoClient defaults to safe writes, so this will change the behavior of the appender, possibly making it much slower for existing users.

Could you please create a pull request that just has the driver update? That will be fine as part of a minor version update.

Then, I'm happy to switch to the MongoClient class and default to safe writes, but I would prefer for that to be as part of a bump to the major version.