[Python-Dev] new module proposal: logfile

Keith Dart kdart at kdart.com
Thu Dec 11 18:12:09 EST 2003


On Thu, 2003-12-11 at 15:09, Guido van Rossum wrote:
> > 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.

Yes, ok. My modules predate the logging module (and 2.3 in general). I
should get more familiar with 2.3 first. Sorry about that.




-- 
-- ------------------------------------------------------------------------- 
Keith Dart
<mailto:kdart at kdart.com>
<http://www.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/2e574e4b/attachment.bin


More information about the Python-Dev mailing list