What replaces log4py under Python 3.2?

Peter Otten __peter__ at web.de
Wed Nov 23 09:18:26 EST 2011


Rob Richardson wrote:

> Our customers are used to the rotating log file capability of the log4py
> package.  I did not see anything in that link that talks about rotating
> log files (changing file name when the date changes, and saving a limited
> number of old log files).  Is that possible using the stdlib logging
> package?  

How about

http://docs.python.org/py3k/library/logging.handlers.html#timedrotatingfilehandler





More information about the Python-list mailing list