[TransWarp] simple application skeleton?

Phillip J. Eby pje at telecommunity.com
Thu Mar 6 18:16:17 EST 2003


It seems I made an error in telling you the below:

At 06:47 PM 3/4/03 -0500, Phillip J. Eby wrote:
>[Provide Utilities]
>peak.running.logs.ILogSink = naming.lookup('logfile:/path/to/aLogfile')

The correct current phrasing for this is:

[Provide Utilities]
peak.running.logs.ILogSink =
     config.CachingProvider(
         lambda foundIn:
             naming.lookup('logfile:/path/to/aLogfile', foundIn, 
creationParent=foundIn
             ),
         local=True,
     )

Sorry about that.  I may look into trying to simplify this in the future.




More information about the PEAK mailing list