[ python-Bugs-987166 ] TimedRotatingFileHandler problems

SourceForge.net noreply at sourceforge.net
Mon Jul 12 11:22:13 CEST 2004


Bugs item #987166, was opened at 2004-07-08 10:20
Message generated for change (Comment added) made by vsajip
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=987166&group_id=5470

Category: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Amaury Forgeot d'Arc (amauryf)
Assigned to: Vinay Sajip (vsajip)
Summary: TimedRotatingFileHandler problems

Initial Comment:
2 problems in the new TimedRotatingFileHandler class:
- "print" statements that where used for debugging were
not removed.
- the code that "find the oldest log file and delete
it" assumes that glob.glob returns files in
alphabetical order. This is not true for all
filesystems (FAT and Novell at least don't sort their
directories), so the file deleted may be a recent one...

----------------------------------------------------------------------

>Comment By: Vinay Sajip (vsajip)
Date: 2004-07-12 09:22

Message:
Logged In: YES 
user_id=308438

Fixes checked into CVS.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=987166&group_id=5470


More information about the Python-bugs-list mailing list