[Twisted-Python] Addition to twisted.python.logfile

Itamar Shtull-Trauring twisted at itamarst.org
Thu Oct 17 15:35:53 EDT 2002

On Thu, 17 Oct 2002 15:03:28 +0100
John Abel <john.abel at pa.press.net> wrote:

> Please go gently with me, this is my first submitted "enhancement"! 
>  I've made a small change to twisted.python.logfile, adding the option
> to gzip the log files, once they've been renamed (default is not to 
> compress).

It's a good idea - I've wanted to support that. Could you add detecting
if zlib isn't installed so it doesn't blow up?

Also you need to agree to give copyright to glyph or whatever the
current phrasing is (see doc/legal).

Here's a question for the list in general - wouldn't it better to do the
compression in a thread?

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python, Twisted, Zope and Java consulting

More information about the Twisted-Python mailing list