lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r1301877 - in /lucene/dev/branches/branch_3x: ./ lucene/ solr/ solr/core/ solr/core/src/java/org/apache/solr/update/processor/URLClassifyProcessor.java
Date Sat, 17 Mar 2012 07:11:13 GMT
Author: koji
Date: Sat Mar 17 07:11:13 2012
New Revision: 1301877

URL: http://svn.apache.org/viewvc?rev=1301877&view=rev
Log:
SOLR-2826: use logging rather than e.printStackTrace()

Modified:
    lucene/dev/branches/branch_3x/   (props changed)
    lucene/dev/branches/branch_3x/lucene/   (props changed)
    lucene/dev/branches/branch_3x/solr/   (props changed)
    lucene/dev/branches/branch_3x/solr/core/   (props changed)
    lucene/dev/branches/branch_3x/solr/core/src/java/org/apache/solr/update/processor/URLClassifyProcessor.java

Modified: lucene/dev/branches/branch_3x/solr/core/src/java/org/apache/solr/update/processor/URLClassifyProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/core/src/java/org/apache/solr/update/processor/URLClassifyProcessor.java?rev=1301877&r1=1301876&r2=1301877&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/core/src/java/org/apache/solr/update/processor/URLClassifyProcessor.java
(original)
+++ lucene/dev/branches/branch_3x/solr/core/src/java/org/apache/solr/update/processor/URLClassifyProcessor.java
Sat Mar 17 07:11:13 2012
@@ -130,9 +130,9 @@ public class URLClassifyProcessor extend
           }
           log.debug(document.toString());
         } catch (MalformedURLException e) {
-          e.printStackTrace();
+          log.warn("cannot get the normalized url for \"" + url + "\" due to " + e.getMessage());
         } catch (URISyntaxException e) {
-          e.printStackTrace();
+          log.warn("cannot get the normalized url for \"" + url + "\" due to " + e.getMessage());
         }
       }
     }



Mime
View raw message