[PEAK] peak logs
darryl
developer at csrules.dyndns.org
Fri Jan 2 01:40:19 EST 2004
>
>
> What happens when you do the same on your machine?
>
Ok i guess i should have tested my own simpified test case. When I tried
above with the same .ini file it worked as depicted above. Now I went
to the real code and what I was doing was:
log = binding.Obtain('logging.logger:bots.jabber', offerAs=['app.log'])
When i changed my ini file to :
[jabber]
logger = logs.LogStream(steam = importString('sys.stderr'),level=logs.DEBUG)
and then changed the 'Obtain' to:
log = binding.Obtain(PropertyName('logger.jabber'), offerAs = ['app.log'])
Now everything works.....
-darryl
More information about the PEAK
mailing list