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 _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )