[Python-Dev] new module proposal: logfile

Keith Dart kdart at kdart.com
Thu Dec 11 17:52:59 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. 

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

-- ------------------------------------------------------------------------- 
Keith Dart
<mailto:kdart at kdart.com>
Public key ID: B08B9D2C Public key: <http://www.kdart.com/~kdart/public.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20031211/ac8c37c9/attachment.bin

More information about the Python-Dev mailing list