I use logging.FileHandler (on windows) and I would like to be able to delete 
the file while the process is running and have it create the file again on next 
log event.

On windows (not tried linux) this is not possible because the file is locked by 
the process, can I get it to close the file after each log event?

If not, would the correct thing to do be to write my own LogHandler with this 
behavior?

/ Rikard
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to