En Wed, 16 Apr 2008 10:50:44 -0300, <tpatch@loftwar e.comescribió:
There are some fixes in svn - you may try using the current sources from
--
Gabriel Genellina
I am using the RotatingFileHan dler logger with Python 2.5 on Windows and
I am getting an error on the rollover. When the log file gets close to
the size where it needs to rollover, I start getting the following error
for every log message. Does anyone have a solution to this problem?
>
Traceback (most recent call last):
File "C:\Python25\Li b\logging\handl ers.py", line 73, in emit
if self.shouldRoll over(record):
File "C:\Python25\Li b\logging\handl ers.py", line 147, in shouldRollover
self.stream.see k(0, 2) #due to non-posix-compliant Windows feature
ValueError: I/O operation on closed file
I am getting an error on the rollover. When the log file gets close to
the size where it needs to rollover, I start getting the following error
for every log message. Does anyone have a solution to this problem?
>
Traceback (most recent call last):
File "C:\Python25\Li b\logging\handl ers.py", line 73, in emit
if self.shouldRoll over(record):
File "C:\Python25\Li b\logging\handl ers.py", line 147, in shouldRollover
self.stream.see k(0, 2) #due to non-posix-compliant Windows feature
ValueError: I/O operation on closed file
--
Gabriel Genellina