[ 
https://issues.apache.org/jira/browse/NUTCH-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900146#comment-16900146
 ] 

Hudson commented on NUTCH-2702:
-------------------------------

FAILURE: Integrated in Jenkins build Nutch-trunk #3631 (See 
[https://builds.apache.org/job/Nutch-trunk/3631/])
NUTCH-2702 Fetcher: suppress stack for frequent exceptions - exceptions 
(snagel: 
[https://github.com/apache/nutch/commit/f02c41a35f5bb6c13d3019e7f8adac177c29319b])
* (edit) src/java/org/apache/nutch/fetcher/FetcherThread.java
* (edit) 
src/plugin/lib-http/src/java/org/apache/nutch/protocol/http/api/HttpBase.java
* (add) src/java/org/apache/nutch/net/protocols/ProtocolLogUtil.java
* (edit) src/java/org/apache/nutch/net/protocols/package-info.java
* (edit) conf/nutch-default.xml


> Fetcher: suppress stack for frequent exceptions
> -----------------------------------------------
>
>                 Key: NUTCH-2702
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2702
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.15
>            Reporter: Sebastian Nagel
>            Assignee: Sebastian Nagel
>            Priority: Minor
>             Fix For: 1.16
>
>
> Fetcher logs the entire Java stack when a fetch fails with an Exception. To 
> reduce the size of the fetcher logs, frequent exceptions with an obvious 
> reason should be logged without stack, at least, for the default log level 
> (INFO).
> Frequent and obvious exceptions are:
> - java.net.UnknownHostException
> - java.net.SocketTimeoutException
> - java.net.ConnectException
> - javax.net.ssl.SSLHandshakeException
> Class name and message should be sufficient by default. For debugging the 
> fetch can be retried with a more verbose log level.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to