You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sternath Elmar <El...@icn.siemens.de> on 2002/06/17 09:57:28 UTC
trace file generator output
Hi all,
is there any possibility to trace the xml output generated by FileGenerator?
Regards,
Elmar
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: trace file generator output
Posted by William Brogden <wb...@bga.com>.
> -----Original Message-----
> From: Sternath Elmar [mailto:Elmar.Sternath@icn.siemens.de]
> Sent: Monday, June 17, 2002 2:57 AM
> To: cocoon-users@xml.apache.org
> Subject: trace file generator output
>
>
> Hi all,
>
> is there any possibility to trace the xml output generated by
> FileGenerator?
>
> Regards,
> Elmar
Seems to me you should be able to do that with the "log"
transformer - it spits out a record for every SAX event
that goes through it. A pipeline entry for log transformer
includes a parameter that names the output file and one
that controls appending to the log.
<map:transform type="log">
<map:parameter name="logfile"
value="c:/Tomcat401/logs/debuglog.txt" />
<map:parameter name="append" value="yes" />
</map:transform>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: trace file generator output
Posted by Reinhard Poetz <re...@gmx.net>.
Change your cocoon.xconf - here a snippet of the interesting part for you:
<!-- SAXConnector:
Connects the various pipeline components.
LoggingSAXConnector logs SAX events between pipeline components
into cocoon's log file.
ProfilingSAXConnector gathers timing information.
Uncomment one of the following lines for using the SAXConnector.
<sax-connector
class="org.apache.cocoon.components.saxconnector.LoggingSAXConnector"/>
<sax-connector
class="org.apache.cocoon.components.profiler.ProfilingSAXConnector"/>
-->
Regards,
Reinhard
> -----Original Message-----
> From: Sternath Elmar [mailto:Elmar.Sternath@icn.siemens.de]
> Sent: Monday, June 17, 2002 9:57 AM
> To: cocoon-users@xml.apache.org
> Subject: trace file generator output
>
>
> Hi all,
>
> is there any possibility to trace the xml output generated by
> FileGenerator?
>
> Regards,
> Elmar
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>