You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gi...@apache.org on 2002/07/13 19:17:50 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/serialization FOPSerializer.java

giacomo     2002/07/13 10:17:50

  Modified:    src/java/org/apache/cocoon/serialization FOPSerializer.java
  Log:
  Fixing compilation error
  
  Revision  Changes    Path
  1.9       +3 -2      xml-cocoon2/src/java/org/apache/cocoon/serialization/FOPSerializer.java
  
  Index: FOPSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/serialization/FOPSerializer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FOPSerializer.java	28 May 2002 13:08:13 -0000	1.8
  +++ FOPSerializer.java	13 Jul 2002 17:17:50 -0000	1.9
  @@ -54,6 +54,7 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.logger.Loggable;
  +import org.apache.avalon.framework.logger.LogKitLogger;
   import org.apache.cocoon.caching.CacheableProcessingComponent;
   import org.apache.cocoon.components.renderer.ExtendableRendererFactory;
   import org.apache.cocoon.components.renderer.RendererFactory;
  @@ -196,7 +197,7 @@
           driver = new Driver();
   
           if(driver instanceof Loggable) {
  -            driver.setLogger(getLogger().getChildLogger("fop"));
  +            driver.setLogger(new LogKitLogger(getLogger().getChildLogger("fop")));
           }
           if (this.rendererName == null) {
               this.renderer = factory.createRenderer(mimetype);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org