Author: toad
Date: 2008-02-15 22:44:14 +0000 (Fri, 15 Feb 2008)
New Revision: 17965

Modified:
   trunk/freenet/src/freenet/clients/http/filter/ContentFilter.java
Log:
Logging

Modified: trunk/freenet/src/freenet/clients/http/filter/ContentFilter.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/filter/ContentFilter.java    
2008-02-15 22:32:12 UTC (rev 17964)
+++ trunk/freenet/src/freenet/clients/http/filter/ContentFilter.java    
2008-02-15 22:44:14 UTC (rev 17965)
@@ -124,6 +124,8 @@
         * @throws IOException If an internal error involving buckets occurred.
         */
        public static FilterOutput filter(Bucket data, BucketFactory bf, String 
typeName, URI baseURI, FoundURICallback cb) throws UnsafeContentTypeException, 
IOException {
+               if(Logger.shouldLog(Logger.MINOR, ContentFilter.class))
+                       Logger.minor(ContentFilter.class, 
"filter(data.size="+data.size()+" typeName="+typeName);
                String type = typeName;
                String options = "";
                String charset = null;


Reply via email to