Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

There is already a TimedRotatingHandler for generating file names based on 
dates. However, it rotates based on time, not size.

I don't agree that this is a bug just because Windows is a supported platform; 
the problems in this issue are due to a shortcoming in Windows. There is no 
universally acceptable "obvious" strategy to deal with this shortcoming. If you 
know of one, please elaborate.

You make no comment about my suggestion to copy files to another location 
before viewing.

This is not fundamentally a logging issue; any attempt to call os.rename or 
os.unlink will fail on Windows if the file is kept open in, say, a text editor. 
Logging cannot take an obvious alternative path in this case, and for that 
reason, IMO this issue should remain closed. 

I do not recommend raising an issue against the os module, either ;-)

----------

_______________________________________
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