This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients Eli.Courtwright, vinay.sajip
Date 2010-03-17.23:32:06
SpamBayes Score 3.3902325e-05
Marked as misclassified No
Message-id <1268868728.18.0.289579179019.issue8165@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-03-17 23:32:08vinay.sajipsetrecipients: + vinay.sajip, Eli.Courtwright
2010-03-17 23:32:08vinay.sajipsetmessageid: <1268868728.18.0.289579179019.issue8165@psf.upfronthosting.co.za>
2010-03-17 23:32:06vinay.sajiplinkissue8165 messages
2010-03-17 23:32:06vinay.sajipcreate