Login  Register

RE: Re: Viewing XPL / pipeline output

Posted by Robin Diederen on Jan 29, 2010; 3:39pm
URL: https://discuss.orbeon.com/Viewing-XPL-pipeline-output-tp1415414p1415596.html

Hi Tom,

Thanks for the tip, I'll give it a try.

Best, Robin

-----Oorspronkelijk bericht-----
Van: Tom Grahame [mailto:[hidden email]]
Verzonden: vrijdag 29 januari 2010 14:47
Aan: [hidden email]
Onderwerp: [ops-users] Re: Viewing XPL / pipeline output


Hi Robin,

The method I favour is to monitor the logs in real time as the xpl is
executed. You can configure each processor in a pipeline to print the xml
passing through it to the standard orbeon log, with a debug attribute, like
so:

<p:processor name="oxf:identity">
    <p:input name="config" href="#instance" debug="instance-input"/>
    <p:output name="data" ref="instance" debug="instance-output"/>
</p:processor>

Make sure that you have logging enabled as described here:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging 

Exactly how you will montior the logs will depend upon your platform.

Keep in mind that:
If the processor does not execute, nothing will pass through it and nothing
will print;
Mal-formed XML will cause the processor to throw an exception with the debug
attribute set.

Hope that helps,

Tom

--
View this message in context: http://n4.nabble.com/Viewing-XPL-pipeline-output-tp1415414p1415465.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws