Message101248
Please check that there is nothing wrong with your Python installation. I get this result:
vinay@eta-jaunty:~/projects/scratch$ ls testing.log
ls: cannot access testing.log: No such file or directory
vinay@eta-jaunty:~/projects/scratch$ cat rfhtest.py
import logging
from logging.handlers import RotatingFileHandler
rfh = RotatingFileHandler("testing.log", delay=True)
logging.getLogger().addHandler(rfh)
logging.warning("Boo!")
vinay@eta-jaunty:~/projects/scratch$ python --version
Python 2.6.2
vinay@eta-jaunty:~/projects/scratch$ python rfhtest.py
vinay@eta-jaunty:~/projects/scratch$ cat testing.log
Boo!
vinay@eta-jaunty:~/projects/scratch$
I'll mark this issue as pending for now, it certainly doesn't fail for me as it does for you, can you give more information about the problem?
I'll investigate the issue based on your analysis - can you tell me more about the platform you're on? Is there an existing log file when you get the error? |
|
Date |
User |
Action |
Args |
2010-03-17 23:32:08 | vinay.sajip | set | recipients:
+ vinay.sajip, Eli.Courtwright |
2010-03-17 23:32:08 | vinay.sajip | set | messageid: <1268868728.18.0.289579179019.issue8165@psf.upfronthosting.co.za> |
2010-03-17 23:32:06 | vinay.sajip | link | issue8165 messages |
2010-03-17 23:32:06 | vinay.sajip | create | |
|