[Python-Dev] new module proposal: logfile

Guido van Rossum guido at python.org
Thu Dec 11 18:09:23 EST 2003

> Attached is a module that implements a self-rotating log file object.
> You simply write to it perpetually, and if it grows over a specified
> size it is automatically truncated, and a certain number of archived
> copies are kept as well.

The logging module also supports this.

> It also has an object that allows redirecting your stdio to a log file.
> Useful for daemon processes.

I'd be more impressed if it was integrated with the loggingmodule.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list