[Twisted-Python] Odd behavior in IRC logbot

Itamar Shtull-Trauring itamar at itamarst.org
Mon Oct 27 09:29:29 EST 2003

On Mon, 27 Oct 2003 09:15:13 -0500
"Phillip J. Eby" <pje at telecommunity.com> wrote:

> Um, what logs?

Hm. I suppose you ought to enable logging, yes. Do:

from twisted.python import log
log.startLogging(open("irc.log", "a"))

somewhere in the file (e.g. in the __main__-only section).

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting

More information about the Twisted-Python mailing list