You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/12/08 00:34:57 UTC

svn commit: r354905 - in /incubator/roller/trunk/src/org/roller/presentation/filters: FeedCacheFilter.java MainPageCacheFilter.java WeblogPageCacheFilter.java

Author: agilliland
Date: Wed Dec  7 15:34:48 2005
New Revision: 354905

URL: http://svn.apache.org/viewcvs?rev=354905&view=rev
Log:
only logging display exception notice at DEBUG level because it is really only meant to serve as an indication that the response should not be cached, we expect that someone else who originally caught the exception has already logged it if it was important.


Modified:
    incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java
    incubator/roller/trunk/src/org/roller/presentation/filters/MainPageCacheFilter.java
    incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java?rev=354905&r1=354904&r2=354905&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/FeedCacheFilter.java Wed Dec  7 15:34:48 2005
@@ -108,7 +108,9 @@
                     
                     this.mFeedCache.put(key, rc);
                 } else {
-                    mLogger.error("Display exception "+key);
+                    // it is expected that whoever caught this display exception
+                    // is the one who reported it to the logs
+                    mLogger.debug("Display exception "+key);
                 }
                 
             } catch (java.net.SocketException se) {

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/MainPageCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/MainPageCacheFilter.java?rev=354905&r1=354904&r2=354905&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/MainPageCacheFilter.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/MainPageCacheFilter.java Wed Dec  7 15:34:48 2005
@@ -136,7 +136,9 @@
                         this.skips++;
                     }
                 } else {
-                    mLogger.error("Display exception "+key);
+                    // it is expected that whoever caught this display exception
+                    // is the one who reported it to the logs
+                    mLogger.debug("Display exception "+key);
                 }
                 
             } catch (java.net.SocketException se) {

Modified: incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java?rev=354905&r1=354904&r2=354905&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/filters/WeblogPageCacheFilter.java Wed Dec  7 15:34:48 2005
@@ -116,7 +116,9 @@
                         this.skips++;
                     }
                 } else {
-                    mLogger.error("Display exception "+key);
+                    // it is expected that whoever caught this display exception
+                    // is the one who reported it to the logs
+                    mLogger.debug("Display exception "+key);
                 }
                 
             } catch (java.net.SocketException se) {