Write by logging.FileHandler to one file by many processess

Rafał Zawadzki bluszcz at jabberpl.org
Wed Oct 17 09:33:10 EDT 2007


Hello.

As I saw in logging source - there is no lock per file during making emit()
(only lock per thread).

So, my question is - is it safe to log into one file using many processess
uses logging logger?

Cheers,
-- 
bluszcz
http://vegan-planet.net



More information about the Python-list mailing list