"Vinay Sajip" <[EMAIL PROTECTED]> writes: > It might. I assume you have a long-running process which runs past > midnight - that's the scenario that TimedRotatingFileHandler is meant > for. Can you post a complete minimal example which shows the problem?
> Rotating should happen when the logging process creates the handler > before midnight and makes a logging call destined for that handler > after midnight. Ah, then maybe I'm expecting the wrong thing. The python code is invoked from cron every 10 minutes or so, it's not long-running. Each time it opens the same log file. Sounds like this isn't going to do what I want. Thanks for the clarification. -- http://mail.python.org/mailman/listinfo/python-list