[PEAK] need hints on PEAK twisted support

Phillip J. Eby pje at telecommunity.com
Thu Apr 8 12:24:25 EDT 2004


At 11:57 AM 4/8/04 -0400, Stephen Waterbury wrote:
>   File "<string>", line 0, in ?
>AttributeError: 'LazyModule' object has no attribute 'DEBUG'

Ah, looks like another bit that's not fixed for a4.  In the 'bulletins' 
file, change this:

[peak.logs]
# Set default logging to stderr, DEBUG level
* = logs.LogStream(stream=importString('sys.stderr'), level=logs.DEBUG)

to this:

[peak.logs]
# Set default logging to stderr, DEBUG level
* = logs.LogStream(stream=importString('sys.stderr'), levelName="DEBUG")

The change is that as of 0.5a4, all log levels must be set by name or 
number; the 'peak.running.logs' module doesn't export level constants any more.

Sorry about that.




More information about the PEAK mailing list