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-2352) Log with Generic Class Name at Nutch 1.x
Date Thu, 19 Jan 2017 21:48:26 GMT

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

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

Github user asfgit closed the pull request at:

    https://github.com/apache/nutch/pull/172


> Log with Generic Class Name at Nutch 1.x
> ----------------------------------------
>
>                 Key: NUTCH-2352
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2352
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.12
>            Reporter: Furkan KAMACI
>            Assignee: Furkan KAMACI
>            Priority: Minor
>             Fix For: 1.13
>
>
> There are many mistakes when some reference code is copied and created a new class and
a logger is used. We can log with a generic class name to avoid it as like:
> {code:java}
> private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
> {code}
> (cf. SOLR-8324)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message