On Oct 23, 11:46 am, nik <[EMAIL PROTECTED]> wrote: > Hi, > > I heard that there was a utility for keeping files and specifically > log files organized, but haven't been able to find anything but the > logging class. The logging class seems to help create the content of a > log file, but unless I am missing something, it doesn't keep track of > multiple log files. > > What I am looking for is some utility that allows me to create a log > file, say test.log, when the program runs. Then the next time it runs > it will see that test.log already exists and will create test.log.1 or > something similiar. Ideally it would also be able to throw out log > files that are older than a certain date or sequence, so if we got to > creating the 10th file it would delete the first one and so on. > > I am sorry for the ambiguois question, but I was told this existed, > can't find it and would like to know if I'm on a wild goose chase and > should just put something together myself. > > Thank you, > Nik
I think it is called "logfile rotation" and see some links about log4py, but no description of what that is. thanks -- http://mail.python.org/mailman/listinfo/python-list