incubator-crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject git commit: Remove stack trace from extractor error log output
Date Wed, 19 Dec 2012 05:30:25 GMT
Updated Branches:
  refs/heads/master bd5f32c5b -> 1ee3a70dc


Remove stack trace from extractor error log output


Project: http://git-wip-us.apache.org/repos/asf/incubator-crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-crunch/commit/1ee3a70d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-crunch/tree/1ee3a70d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-crunch/diff/1ee3a70d

Branch: refs/heads/master
Commit: 1ee3a70dc11a54c4625eded0b290ab517c7d0838
Parents: bd5f32c
Author: Josh Wills <jwills@apache.org>
Authored: Tue Dec 18 21:30:12 2012 -0800
Committer: Josh Wills <jwills@apache.org>
Committed: Tue Dec 18 21:30:12 2012 -0800

----------------------------------------------------------------------
 .../contrib/text/AbstractSimpleExtractor.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/1ee3a70d/crunch-contrib/src/main/java/org/apache/crunch/contrib/text/AbstractSimpleExtractor.java
----------------------------------------------------------------------
diff --git a/crunch-contrib/src/main/java/org/apache/crunch/contrib/text/AbstractSimpleExtractor.java
b/crunch-contrib/src/main/java/org/apache/crunch/contrib/text/AbstractSimpleExtractor.java
index 9959b44..b0dc494 100644
--- a/crunch-contrib/src/main/java/org/apache/crunch/contrib/text/AbstractSimpleExtractor.java
+++ b/crunch-contrib/src/main/java/org/apache/crunch/contrib/text/AbstractSimpleExtractor.java
@@ -62,7 +62,7 @@ public abstract class AbstractSimpleExtractor<T> implements Extractor<T>
{
       if (errors < LOG_ERROR_LIMIT) {
         String msg = String.format("Error occurred parsing input '%s' using extractor %s",
             input, this); 
-        LOG.error(msg, e);
+        LOG.error(msg);
       }
     }
     return res;


Mime
View raw message