You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/11 10:25:00 UTC
[jira] [Commented] (NUTCH-2566) Fix exception log messages
[ https://issues.apache.org/jira/browse/NUTCH-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16433698#comment-16433698 ]
ASF GitHub Bot commented on NUTCH-2566:
---------------------------------------
sebastian-nagel opened a new pull request #314: NUTCH-2566 Fix exception log messages
URL: https://github.com/apache/nutch/pull/314
- do not use {} in combination with a single parameter of type Throwable
- log only exception message at this point as exception is thrown anew
and logged later with full stack trace
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
> Fix exception log messages
> --------------------------
>
> Key: NUTCH-2566
> URL: https://issues.apache.org/jira/browse/NUTCH-2566
> Project: Nutch
> Issue Type: Improvement
> Affects Versions: 1.15
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Trivial
> Fix For: 1.15
>
>
> Some log messages use erroneously {{"{}"}} in combination with a Throwable object. That's not placed in the log message by org.slf4j.Logger but added after the message:
> {noformat}
> CrawlDbMerge job failed {}
> org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: file:...crawldb/current
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)