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 jimjjewett
Recipients
Date 2004-03-25.16:07:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=764593

(1)
I think the H in the suffixes need to be capitalized.

>>> time.strftime("%Y-%m-%d_%h-%M-%S", tt)
'2004-03-25_-53-07'
>>> time.strftime("%Y-%m-%d_%H-%M-%S", tt)
'2004-03-25_10-53-07'

(2)  
When globbing for old logfiles to delete, please make it more 
specfic.  For instance, all suffixes (for the next century) start 
with "20", so you could use 

    s = glob.glob(self.basFilename + ".20*")  

This will make it a bit less dangerous for someone to copy a 
file as basename.save when they want to save the info for 
debugging later.

(3)  
The midnight and weekly versions should recalculate the 
rolloverAt instead of adding interval.  This will keep them from 
getting out of synch if there is a maintenance window or 
daylight savings time change.
History
Date User Action Args
2007-08-23 15:36:47adminlinkissue921318 messages
2007-08-23 15:36:47admincreate