cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r312962 - /cocoon/trunk/src/java/org/apache/cocoon/core/logging/CocoonLogKitLoggerManager.java
Date Tue, 11 Oct 2005 21:39:41 GMT
Author: sylvain
Date: Tue Oct 11 14:39:38 2005
New Revision: 312962

URL: http://svn.apache.org/viewcvs?rev=312962&view=rev
Log:
Use logkit's default hierarchy, which is also used by commons-logging

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/core/logging/CocoonLogKitLoggerManager.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/core/logging/CocoonLogKitLoggerManager.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/core/logging/CocoonLogKitLoggerManager.java?rev=312962&r1=312961&r2=312962&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/core/logging/CocoonLogKitLoggerManager.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/core/logging/CocoonLogKitLoggerManager.java Tue
Oct 11 14:39:38 2005
@@ -19,6 +19,7 @@
 import org.apache.avalon.excalibur.logger.LoggerManager;
 import org.apache.cocoon.environment.Environment;
 import org.apache.log.ContextMap;
+import org.apache.log.Hierarchy;
 
 /**
  * This is an extension of the {@link LoggerManager}. It can be used to
@@ -26,12 +27,17 @@
  * logging implementation to access and log information about the current
  * request.
  * 
- * @version $Id:$
+ * @version $Id$
  * @since 2.2
  */
 public class CocoonLogKitLoggerManager 
     extends LogKitLoggerManager
     implements PerRequestLoggerManager {
+    
+    public CocoonLogKitLoggerManager() {
+        // Use the default hierarchy, which is also used by commons-logging
+        super(Hierarchy.getDefaultHierarchy());
+    }
 
     /**
      * @see org.apache.cocoon.core.logging.PerRequestLoggerManager#initializePerRequestLoggingContext(org.apache.cocoon.environment.Environment)



Mime
View raw message