Newbie question re debugging
Hi, Suppose I have a script buried inside a script buried inside a ZPT, and I want to simply do the equivalent of "print $var" for debugging purposes, from within my script. What's the easiest way of doing this ? Can I send output to Z2.log somehow or similar ? Thanks, P PETER SKIPWORTH SYSTEM ADMINISTRATOR TOUCHCORP LTD TELEPHONE 03 9635 2626 www.touchcorp.com
pskipwort@touchcorp.com wrote at 2003-1-29 13:33 +1100:
Suppose I have a script buried inside a script buried inside a ZPT, and I want to simply do the equivalent of "print $var" for debugging purposes, from within my script. What's the easiest way of doing this ? Can I send output to Z2.log somehow or similar ? You can not (easily) write to "Z2.log".
But, please read "doc/LOGGING.txt" to learn about a different logging facility. By default, it is not available in (internal) Python Scripts. Read the "Readme" for "PythonScripts" to learn how to make it available. Dieter
participants (2)
-
Dieter Maurer -
pskipwortï¼ touchcorp.com