log4mongo / log4mongo-python

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

Remove main_thread from handlers.py #43

Closed ema-ava closed 4 years ago

ema-ava commented 5 years ago

Removal of the main_thread liveness check is neccessary because if the BufferedMongoHandler is initialized in a thread that is not alive for the whole runtime of the script, flushing using the buffer_periodical_flush_timing does not work.

Fixes #42

twmr commented 5 years ago

@oz123 I would be great if you could take a look at this PR when you have time.

oz123 commented 5 years ago

I'm sorry, but I'm quite busy until the end of the month.

twmr commented 5 years ago

No problem. Thx for the fast reply!

oz123 commented 4 years ago

@thisch @ema-ava thanks for the issue and PR.