nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2702) Fetcher: suppress stack for frequent exceptions
Date Wed, 12 Jun 2019 14:16:03 GMT

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

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
 
 
   - exceptions listed in `http.log.exceptions.suppress.stack` are logged without stack trace
   - exclusions are checked when errors are logged in FetcherThread and HttpBase.getResponse(...)
 
----------------------------------------------------------------
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:
users@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.3#76005)

Mime
View raw message