getlogbook / logbook

A cool logging replacement for Python.
http://logbook.readthedocs.org
Other
1.48k stars 165 forks source link

High performance logging #223

Open szs8 opened 8 years ago

szs8 commented 8 years ago

I have a use-case where I want to actually dispatch the logs in a separate process or a thread (only if real threads were supported by python). How can I do that in logbook?

I have a FileHandler and an EmailHandler and having them both in the mainloop is not optimal performance wise.

vmalloc commented 8 years ago

How much is "high performance"? How many logs per second are we talking about?

On Wed, 5 Oct 2016 at 0:19 S notifications@github.com wrote:

I have a use-case where I want to actually dispatch the logs in a separate process or a thread (only if real threads were supported by python). How can I do that in logbook?

I have a FileHandler and an EmailHandler and having them both in the mainloop is not optimal performance wise.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/getlogbook/logbook/issues/223, or mute the thread https://github.com/notifications/unsubscribe-auth/AABwJs5bQLhT0jlhN3J68aah6tNX4I5Hks5qwsLQgaJpZM4KOK6O .