>> Rotating should happen when the logging process creates the handler
    >> before midnight and makes a logging call destined for that handler
    >> after midnight.

    Chris> Ah, then maybe I'm expecting the wrong thing.  The python code is
    Chris> invoked from cron every 10 minutes or so, it's not long-running.
    Chris> Each time it opens the same log file.  Sounds like this isn't
    Chris> going to do what I want.

Right.  Check out the logrotate facility on your system.

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to