ovidiu 02/05/01 18:32:51 Modified: src/scratchpad/schecoon/src/org/apache/cocoon/components/flow InterpreterSelector.java Log: Don't make this LogKitManageable. Revision Changes Path 1.10 +2 -17 xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/InterpreterSelector.java Index: InterpreterSelector.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/InterpreterSelector.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- InterpreterSelector.java 10 Apr 2002 06:18:51 -0000 1.9 +++ InterpreterSelector.java 2 May 2002 01:32:51 -0000 1.10 @@ -1,28 +1,18 @@ package org.apache.cocoon.components.flow; import org.apache.avalon.excalibur.component.ExcaliburComponentSelector; -import org.apache.avalon.excalibur.logger.LogKitManageable; -import org.apache.avalon.excalibur.logger.LogKitManager; import org.apache.avalon.framework.component.ComponentException; import org.apache.avalon.framework.configuration.Configurable; 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.thread.ThreadSafe; -import org.apache.log.Logger; public class InterpreterSelector extends ExcaliburComponentSelector - implements Configurable, ThreadSafe, LogKitManageable + implements Configurable, ThreadSafe { - LogKitManager logkit; String defaultLanguage; - - ClassLoader loader = Thread.currentThread().getContextClassLoader(); - public void setLogKitManager(LogKitManager logkit) - { - this.logkit = logkit; - } + ClassLoader loader = Thread.currentThread().getContextClassLoader(); public void configure(Configuration config) throws ConfigurationException @@ -32,11 +22,6 @@ defaultLanguage = config.getAttribute("default", null); boolean reloadScripts = config.getAttributeAsBoolean("reload-scripts", false); long checkTime = config.getAttributeAsLong("check-time", 1000L); - String loggerName = config.getAttribute("logger", null); - Logger loggerUsed = getLogger(); - if (loggerName != null) { - loggerUsed = logkit.getLogger(loggerName); - } // Finish the initialization of the already created components Configuration[] configurations = config.getChildren("component-instance");
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]