log4mongo / log4mongo-python

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

Cleanup #47

Closed twmr closed 4 years ago

twmr commented 4 years ago
* Remove unnecessary small methods
* Always import threading module (Avoid local import)
* Always instantiate buffer_lock object even if periodical flush is
  disabled. Once we drop support for py3.6 we can use
  contextlib.null_context in the case of disabled periodical flushing.
twmr commented 4 years ago

@oz123 friendly ping.

twmr commented 4 years ago

I've split up this change into 9 small commits that should be easier to review. Let me know if anything is unclear or if you have questions.

BR Thomas

oz123 commented 4 years ago

Give me a few days to prepare a new release.