Skip to contentSkip to conversation

python2.4 and logging

DISCUSSION Ryan Harper 2 participants 3 messages May 26, 2005 – Jun 20, 2005

lore
Share & tools
lore
#0 lore raw

Any one else seeing this output from xend?

ValueError: I/O operation on closed file
Traceback (most recent call last):
File "/usr/lib/python2.4/logging/handlers.py", line 62, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.4/logging/handlers.py", line 132, in shouldRollover
self.stream.seek(0, 2) #due to non-posix-compliant Windows feature

Signature · 5 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]
#1 lore raw
Quoted 9 lines

Any one else seeing this output from xend?

ValueError: I/O operation on closed file
Traceback (most recent call last):
File "/usr/lib/python2.4/logging/handlers.py", line 62, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.4/logging/handlers.py", line 132, in
shouldRollover self.stream.seek(0, 2) #due to non-posix-compliant Windows feature

Yes, incessantly.

I haven't heard anything about it for a while - did you ever solve this?

Cheers,
Mark

#2 lore raw
Quoted 11 lines · Mark Williamson
Quoted 9 lines

Any one else seeing this output from xend?

ValueError: I/O operation on closed file
Traceback (most recent call last):
File "/usr/lib/python2.4/logging/handlers.py", line 62, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.4/logging/handlers.py", line 132, in
shouldRollover self.stream.seek(0, 2) #due to non-posix-compliant Windows feature

Yes, incessantly.

Good to hear I'm not the only one.

Quoted 2 lines

I haven't heard anything about it for a while - did you ever solve this?

No, it became less annoying, though still unresolved, now that it only writes that to /var/log/xend-debug.log instead of to stdout/stderr.

Signature · 5 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]