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

ASF GitHub Bot commented on NUTCH-2702:
---------------------------------------

sebastian-nagel commented on pull request #456: NUTCH-2702 Fetcher: suppress 
stack for frequent exceptions
URL: https://github.com/apache/nutch/pull/456
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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