cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/transformation LogTransformer.java
Date Wed, 14 Feb 2001 22:12:32 GMT
bloritsch    01/02/14 14:12:32

  Modified:    src/org/apache/cocoon/generation Tag: xml-cocoon2
                        ServerPagesGenerator.java
               src/org/apache/cocoon/transformation Tag: xml-cocoon2
                        LogTransformer.java
  Log:
  Minor formatting
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.16  +3 -3      xml-cocoon/src/org/apache/cocoon/generation/Attic/ServerPagesGenerator.java
  
  Index: ServerPagesGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/generation/Attic/ServerPagesGenerator.java,v
  retrieving revision 1.1.2.15
  retrieving revision 1.1.2.16
  diff -u -r1.1.2.15 -r1.1.2.16
  --- ServerPagesGenerator.java	2001/02/12 14:17:35	1.1.2.15
  +++ ServerPagesGenerator.java	2001/02/14 22:12:28	1.1.2.16
  @@ -39,7 +39,7 @@
    * delegating actual SAX event generation.
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version CVS $Revision: 1.1.2.15 $ $Date: 2001/02/12 14:17:35 $
  + * @version CVS $Revision: 1.1.2.16 $ $Date: 2001/02/14 22:12:28 $
    */
   public class ServerPagesGenerator
     extends ServletGenerator
  @@ -111,7 +111,7 @@
       try {
           url = ((URLFactory)manager.lookup(Roles.URL_FACTORY)).getURL(systemId);
       } catch (Exception e) {
  -        getLogger().error ("cannot obtain the URLFactory");
  +        getLogger().error ("cannot obtain the URLFactory", e);
           throw new SAXException("cannot obtain the URLFactory", e);
       }
       if (!url.getProtocol().equals("file")) {
  @@ -142,7 +142,7 @@
       }
   
       if (generator instanceof Loggable) {
  -        ((Loggable)generator).setLogger(getLogger());
  +        ((Loggable) generator).setLogger(getLogger());
       }
   
       // Delegate XML production to loaded generator
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.13  +7 -7      xml-cocoon/src/org/apache/cocoon/transformation/Attic/LogTransformer.java
  
  Index: LogTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/transformation/Attic/LogTransformer.java,v
  retrieving revision 1.1.2.12
  retrieving revision 1.1.2.13
  diff -u -r1.1.2.12 -r1.1.2.13
  --- LogTransformer.java	2001/02/12 14:17:44	1.1.2.12
  +++ LogTransformer.java	2001/02/14 22:12:30	1.1.2.13
  @@ -30,12 +30,12 @@
    * The file will be specified in a parameter tag in the sitemap pipeline to the
    * transformer as follows:
    * <p>
  - * <code>
  - * &lt;map:transform type="log"&gt;<br>
  - * &nbsp;&nbsp;&lt;parameter name="logfile" value="logfile.log"/&gt;<br>
  - * &nbsp;&nbsp;&lt;parameter name="append" value="no"/&gt;<br>
  - * &lt;/map:transform&gt;<br>
  - * </code>
  + * <pre>
  + * &lt;map:transform type="log"&gt;
  + * &nbsp;&nbsp;&lt;parameter name="logfile" value="logfile.log"/&gt;
  + * &nbsp;&nbsp;&lt;parameter name="append" value="no"/&gt;
  + * &lt;/map:transform&gt;>
  + * </pre>
    * </p>
    *
    * Because the log file will be hardcoded into the sitemap this LOGTransformer will
  @@ -45,7 +45,7 @@
    *
    * @author <a href="mailto:giacomo.pati@pwr.ch">Giacomo Pati</a>
    *         (PWR Organisation &amp; Entwicklung)
  - * @version CVS $Revision: 1.1.2.12 $ $Date: 2001/02/12 14:17:44 $
  + * @version CVS $Revision: 1.1.2.13 $ $Date: 2001/02/14 22:12:30 $
    *
    */
   public class LogTransformer extends AbstractTransformer {
  
  
  

Mime
View raw message