7 Oct
2005
7 Oct
'05
4:42 p.m.
On Fri, Oct 07, 2005 at 11:42:16AM -0400, Brian Sullivan wrote:
I am looking for a simple strategy to write a debug log file from a python script. I used to have such a beast but somewhere in a shuffle it got lost -- and my brain seems to be dead this morning trying to figure it out. Anybody out there have something like this or a url explaining how to do it?
Why not zLOG? Look at: Zope-2.8.1-home/lib/python/zLOG/__init__.py There are lots of examples of the use of the LOG function, defined in that file, scattered throughout the Zope code. And, your_instance/etc/zope.conf enables you to control the logging output. Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman