Message45621
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.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:36:47 | admin | link | issue921318 messages |
2007-08-23 15:36:47 | admin | create | |
|