cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r587722 - /cocoon/trunk/blocks/cocoon-fop/cocoon-fop-impl/src/main/java/org/apache/cocoon/serialization/FOPSerializer.java
Date Wed, 24 Oct 2007 00:51:06 GMT
Author: vgritsenko
Date: Tue Oct 23 17:51:06 2007
New Revision: 587722

URL: http://svn.apache.org/viewvc?rev=587722&view=rev
Log:
AvalonUtils.LOGGER_ROLE is gone.

Modified:
    cocoon/trunk/blocks/cocoon-fop/cocoon-fop-impl/src/main/java/org/apache/cocoon/serialization/FOPSerializer.java

Modified: cocoon/trunk/blocks/cocoon-fop/cocoon-fop-impl/src/main/java/org/apache/cocoon/serialization/FOPSerializer.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-fop/cocoon-fop-impl/src/main/java/org/apache/cocoon/serialization/FOPSerializer.java?rev=587722&r1=587721&r2=587722&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-fop/cocoon-fop-impl/src/main/java/org/apache/cocoon/serialization/FOPSerializer.java
(original)
+++ cocoon/trunk/blocks/cocoon-fop/cocoon-fop-impl/src/main/java/org/apache/cocoon/serialization/FOPSerializer.java
Tue Oct 23 17:51:06 2007
@@ -45,8 +45,9 @@
 import org.apache.cocoon.components.renderer.ExtendableRendererFactory;
 import org.apache.cocoon.components.renderer.RendererFactory;
 import org.apache.cocoon.components.source.SourceUtil;
-import org.apache.cocoon.core.container.spring.avalon.AvalonUtils;
+import org.apache.cocoon.core.container.spring.logger.LoggerUtils;
 import org.apache.cocoon.util.ClassUtils;
+import org.apache.cocoon.util.avalon.CLLoggerWrapper;
 
 /**
  * FOP 0.20.5 (and older) based serializer.
@@ -106,7 +107,7 @@
      */
     public void service(ServiceManager manager) throws ServiceException {
         this.manager = manager;
-        this.logger = ((Logger) manager.lookup(AvalonUtils.LOGGER_ROLE)).getChildLogger("fop");
+        this.logger = new CLLoggerWrapper(LoggerUtils.getChildLogger(manager, "fop"));
     }
 
     /**



Mime
View raw message