I'm not sure what you mean by the "jython routines". Please provide a
STAX job that provides an example of printing from "jython routines".
Is the output being logged to the STAX JVM Log? There's a link to view
the STAX JVM Log via the STAX Job Monitor.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Tennis Smith <tennis_sm...@yahoo.com>
To: staf-users@lists.sourceforge.net
Date: 07/18/2011 02:41 PM
Subject: [staf-users] Debugging Jython In Stax
Hi Guys,
I have a jython file with several routines in it called from a stax xml
file. I think something is wrong with a string handler in the jython
code, and would like to get some debug information about it.
I changed the stax service definition in the staf.cfg file to the
following:
SERVICE STAX LIBRARY JSTAF EXECUTE
{STAF/Config/STAFRoot}/services/stax/STAX.jar PARMS "PYTHONOUTPUT
JobUserLogAndMsg CLEARLOGS Enabled PYTHONLOGLEVEL info" $
I am getting good debug data from print statements in the <script> areas
of my XML code. *But*, I am not getting any output from "print" that is
anywhere in the jython routines.
How can I get the jython code to print debug data?
--
Tks,
-Tennis
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now!
http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users