Andreas Hartmann wrote:
Michael Wechner schrieb:
Milan Jezdik wrote:
Hi all,
is there any way how to show what XML data are processed? Let say
output the data into logfile or generate a XML page with the data as
they are processed.
I tried to increase the log level in
tomcat/webapps/lenya/WEB-INF/log4j.xconf but there is no XML in this
output.
IIRC there should be log transformer
Yes, the LogTransformer outputs SAX events in a textual form.
The TeeTransformer outputs the XML.
-- Andreas
and otherwise you can put in serializers, but it's a bit annonying to
do so, but OTOH one learns which pipelines are being connected.
I still think it would be nice if one could add IDs to pipelines and
then output it as flow-diagram when a request is being processed ;-)
imho, the easiest way to get at the xml of intermediate processing steps
is the profiling transformer. 1.4 has a module that makes its use really
easy, and for 1.2 it should not be much harder, but i have no 1.2
experience myself...
i guess all you need to do is modify the pipeline you want to examine to
read <map:pipeline type="profile-noncaching"> and then you need to set
up a pipeline that uses the profile generator and prepares the output
for viewing. search the cocoon website for infos on the profile
transformer, or check out the profiling module from lenya 1.4 svn and
steal the code from there. just point your browser to
https://svn.apache.org/repos/asf/lenya/trunk/src/modules/profiling and
have a look at the sitemap there.
regards,
jörn
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]