Alexander Vrchoticky <alexander.vrchoti...@gmx.at> added the comment:

Thank you for the reply. I'll look into subclassing, but I am not convinced 
that there is a way to fix this: The basic problem is that one viewer has a 
file open, and the logger would like to start a new file with the same name.

What would work, is to generate file names based on (say) the current day, as 
in Logfile-20110502.txt. This design avoids the problem that we're rolling over 
to files of the same name, but it is a different beast from RotatingFileHandler.

That said, I think this issue should be reopened: RotatingFileHandler is a part 
of the standard library, and Windows is a supported platform.
If the logger crashes because somebody is looking at a log file, this is a 
valid bug.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to