You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2005/07/06 11:31:20 UTC

svn commit: r209437 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/caching/impl/CacheImpl.java

Author: cziegeler
Date: Wed Jul  6 02:31:18 2005
New Revision: 209437

URL: http://svn.apache.org/viewcvs?rev=209437&view=rev
Log:
Change log level to info.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/caching/impl/CacheImpl.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/caching/impl/CacheImpl.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/caching/impl/CacheImpl.java?rev=209437&r1=209436&r2=209437&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/caching/impl/CacheImpl.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/caching/impl/CacheImpl.java Wed Jul  6 02:31:18 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@
  *
  * @since 2.1
  * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * @version CVS $Id: CacheImpl.java,v 1.10 2004/03/05 13:02:45 bdelacretaz Exp $
+ * @version CVS $Id$
  */
 public class CacheImpl
 extends AbstractLogEnabled
@@ -77,8 +77,8 @@
     public void store(Serializable     key,
                       CachedResponse   response)
     throws ProcessingException {
-        if ( this.getLogger().isDebugEnabled()) {
-            this.getLogger().debug("Caching new response for " + key);
+        if ( this.getLogger().isInfoEnabled()) {
+            this.getLogger().info("Caching new response for " + key);
         }
         try {
             this.store.store(key, response);
@@ -109,8 +109,8 @@
      *                    request
      */
     public void remove(Serializable key) {
-        if ( this.getLogger().isDebugEnabled()) {
-            this.getLogger().debug("Removing cached response for " + key); 
+        if ( this.getLogger().isInfoEnabled()) {
+            this.getLogger().info("Removing cached response for " + key); 
         }
         this.store.remove(key);
     }
@@ -119,8 +119,8 @@
      * clear cache of all cached responses 
      */
     public void clear() {
-        if ( this.getLogger().isDebugEnabled()) {
-            this.getLogger().debug("Clearing cache"); 
+        if ( this.getLogger().isInfoEnabled()) {
+            this.getLogger().info("Clearing cache"); 
         }
         // FIXME this clears the whole store!
         this.store.clear();