Debug attribute

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Debug attribute

damien.peymirat
Hi all,


   I learned that we can add the debug attribute to input and output processor in a XPL file (e.g : <p:output name="data" id="output_xslt" debug="true"/>). However, I don't know how to recover the information of this debugger ??

Thank you for your answers

Damien.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Debug attribute

Alexander Žaťko
The info is in the Tomcat (assuming you are using Tomcat) log.

A.

On Aug 10, 2006, at 5:12 AM, [hidden email] wrote:

> Hi all,
>
>
>    I learned that we can add the debug attribute to input and  
> output processor in a XPL file (e.g : <p:output name="data"  
> id="output_xslt" debug="true"/>). However, I don't know how to  
> recover the information of this debugger ??
>
> Thank you for your answers
>
> Damien.
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Debug attribute

Erik Bruchez
Administrator
In reply to this post by damien.peymirat
Damien,

This will be logged to whatever appender is configured in your
config/log4j.xml file. There are many options, including ConsoleAppender
which sends debugging information to your "console" (with my setup this
goes into the window that started Tomcat, but it may also go to Tomcat
log files depending on your setup), ChainsawAppender that will use the
Chainsaw viewer, and OPSMonitor that will go to our viewer that runs in
Eclipse.

And yes, those attributes are extremely important: there is not much
pipeline debugging you can do without them.

-Erik

[hidden email] wrote:
> Hi all,
>
>
>    I learned that we can add the debug attribute to input and output processor in a XPL file (e.g : <p:output name="data" id="output_xslt" debug="true"/>). However, I don't know how to recover the information of this debugger ??
>
> Thank you for your answers
>
> Damien.

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Debug attribute

Alessandro  Vernet
Administrator
In reply to this post by Alexander Žaťko
On 8/10/06, Alexander Zatko <[hidden email]> wrote:
> The info is in the Tomcat (assuming you are using Tomcat) log.

Yes, or more precisely it goes to the log4j, and the final destination
depends on what you have in the config/log4j.xml. Towards the end of
the file you have something like:

<root>
    <priority value="info"/>
    <!--<appender-ref ref="ConsoleAppender"/>-->
    <!--<appender-ref ref="ChainsawAppender"/>-->
    <!--<appender-ref ref="FileAppender"/>-->
    <appender-ref ref="OPSMonitor"/>
</root>

Here because the first 3 <appender-ref> are commented, logging
information will go to Studio (the Eclipse plug-in).

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet