Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 47808 invoked from network); 18 Nov 2005 04:31:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Nov 2005 04:31:53 -0000 Received: (qmail 51473 invoked by uid 500); 18 Nov 2005 04:26:09 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 44901 invoked by uid 500); 18 Nov 2005 04:24:47 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 40421 invoked by uid 99); 18 Nov 2005 04:23:11 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Nov 2005 20:22:39 -0800 Received: (qmail 7958 invoked by uid 65534); 18 Nov 2005 04:15:37 -0000 Message-ID: <20051118041537.7957.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r345438 [179/286] - in /cocoon/site/site/2.1: ./ developing/ developing/portal/ developing/portal/coplets/ developing/webapps/ developing/webapps/authentication/ faq/ howto/ installing/ plan/ plan/documentation/ plan/otherplanning/ plan/ove... Date: Fri, 18 Nov 2005 04:13:22 -0000 To: cvs@cocoon.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: cocoon/site/site/2.1/userdocs/log-transformer.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/log-transformer.html?rev=345438&view=auto ============================================================================== --- cocoon/site/site/2.1/userdocs/log-transformer.html (added) +++ cocoon/site/site/2.1/userdocs/log-transformer.html Thu Nov 17 20:00:02 2005 @@ -0,0 +1,1283 @@ + + + + + + + +Log Transformer + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+

Log Transformer

+ +

Log Transformer

+
+

This transformations main purpose is debugging. The LogTransformer +is a class that can be plugged into a pipeline to print the SAX events which +passes through this transformer in a readable form to a file.

+

The file will be specified in a parameter tag in the sitemap pipeline to the +transformer as follows:

+
  <map:transform type="log">
+  <map:parameter name="logfile" value="logfile.log"/>
+  <map:parameter name="append" value="no"/>
+  </map:transform>
+
+

Because the log file will be hardcoded into the sitemap this +LOGTransformer will not be thread safe.

+

If you don't specify the logfile the output is send to the standard output of +your servlet engine.

+
    + +
  • Name : log
  • + +
  • Class: org.apache.cocoon.transformation.LogTransformer
  • + +
  • Cacheable: no.
  • + +
+ +
+
+ +
 
+
+ + + Propchange: cocoon/site/site/2.1/userdocs/log-transformer.html ------------------------------------------------------------------------------ svn:eol-style = native