New submission from Andreas Sauer <sauerandr...@gmx.de>:

Module: logging
OS: Windows XP

When using the RotatingFileHandler, the logging cras when i open the Logfile in 
an Texteditor.

I think there is a Problem in renaming the Files, while it's open in the 
Texteditor.

Traceback (most recent call last):
  File "C:\Programme\Python26\lib\logging\handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "C:\Programme\Python26\lib\logging\handlers.py", line 150, in shouldRollo
ver
    self.stream.seek(0, 2)  #due to non-posix-compliant Windows feature
ValueError: I/O operation on closed file

----------
components: Extension Modules
messages: 128960
nosy: RockstarVC
priority: normal
severity: normal
status: open
title: logging: RotatingFileHandler crash when opening the Logfile in an 
Texteditor
type: crash
versions: Python 2.6, Python 2.7

_______________________________________
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