log4mongo / log4mongo-python

python logging handler for mongo database
http://log4mongo.org
Other
111 stars 37 forks source link

Use of deprecated pymongo-3 call save() #14

Closed mortodeg closed 9 years ago

mortodeg commented 9 years ago

With pymongo > 3 one get:

log4mongo.py:184: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead self.collection.save(self.format(record))

char0n commented 9 years ago

@oz123 whould you mind lookin at this issue ?

Also would you mind If I make you repo commiter ? You provided a lot of value into this project already. You will be able to answer github issues directly and you will be notified when there are new ones. Also you will be able to directly contribute to this repo.

What do you say ?

oz123 commented 9 years ago

@char0n, I don't mind if you add me to the repository contributors The fix for this bug is indeed very easy, but it might break backwards compatibility if not considered carefully.

char0n commented 9 years ago

@oz123 you have direct push access to the repository, and I guess you have also full access to pypi to release new version. Thanks for your contributions so far, feel free to push to repo directly and feel free to create new versions as you see necessary.

oz123 commented 9 years ago

@char0n , thanks!