[PEAK] peak logs

darryl developer at csrules.dyndns.org
Fri Jan 2 17:04:53 EST 2004


Phillip J. Eby wrote:

> At 12:40 PM 1/2/04 -0800, darryl wrote:
>
>> darryl at hydra jabberbot $ peak runIni test.ini
>> <peak.running.logs.LogStream object at 0x83d8324>
>> 30
>>
>> -----------------------------------------------------------------
>> What am i doing wrong ?
>
>
> Well, as it turns out, you're getting the parent's log just fine.  
> It's just that the parent's logger isn't coming from the right place, 
> on account of being defined at a different configuration level than 
> the logging service.  Adding these two lines:
>
> [Component Factories]
> peak.running.logs.ILoggingService = logs.DefaultLoggingService
>
> to the configuration fixed it for me.

Hurray!

I thought i was going crazy. Work now. Thanks.

-darryl




More information about the PEAK mailing list