tracking/ordering log files

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Oct 24 00:39:01 EDT 2007


En Tue, 23 Oct 2007 17:08:03 -0300, nik <nikbaer at gmail.com> escribió:

> I think it is called "logfile rotation" and see some links about
> log4py, but no description of what that is.

See the logging package; in particular, you want a RotatingFileHandler.
<http://docs.python.org/lib/module-logging.html>

-- 
Gabriel Genellina




More information about the Python-list mailing list