[PEAK] peak logs
darryl
developer at csrules.dyndns.org
Fri Jan 2 13:04:00 EST 2004
Ok,
I'm still confused.
Here is my .ini file as it stands:
[peak.logs]
* = logs.LogStream(stream=importString('sys.stderr'),level=logs.DEBUG)
bot.jabber = logs.LogStream(stream=importString('sys.stderr'),levelName
= "DEBUG")
Now in my class i'm doing like so:
log = binding.Obtain('logger:bot.jabber',
offerAs=['app.log'])
if i do:
print self.log
i get:
<peak.running.logs.LogStream object at 0x83d9944>
however when i do:
self.log.debug("some test output")
i don't get any output. I must be missing something here :)
-darryl
More information about the PEAK
mailing list