[Zope] Write log file from script

Jonathan dev101 at magma.ca
Fri Oct 7 11:49:07 EDT 2005


How about creating a string or list, then appending your debug info to the string/list, then returning the string/list to the calling routine which then displays the string/list?

Jonathan
  ----- Original Message ----- 
  From: Brian Sullivan 
  To: zope at zope.org 
  Sent: Friday, October 07, 2005 11:42 AM
  Subject: [Zope] Write log file from script


  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?


------------------------------------------------------------------------------


  _______________________________________________
  Zope maillist  -  Zope at 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 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20051007/ca63fe3b/attachment.htm


More information about the Zope mailing list