Python logging rollover

2009-01-12 Thread Kottiyath
Hi, I want to do a log rollover - preferably based on day; size is also Ok. I checked logging.TimedRotatingFileHandler, but I am not sure whether it will suit my purpose. Mine is a desktop application. So, everytime the machine starts, the whole logging system is reinitialized. So, in such a

Re: Python logging rollover

2009-01-12 Thread Scott David Daniels
Kottiyath wrote: Hi, I want to do a log rollover I tested it with 'midnight' option, but it did not work as I expected. Please google smart questions. All I can conclude from your message is that your expectations are wrong. It is not enough to tell us you are confused. You need to