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-2351) Log with Generic Class Name at Nutch 2.x
Date Thu, 06 Apr 2017 11:04:41 GMT

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

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

sebastian-nagel closed pull request #171: NUTCH-2351 Logging with generic class name.
URL: https://github.com/apache/nutch/pull/171
 
 
   
 
----------------------------------------------------------------
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


> Log with Generic Class Name at Nutch 2.x
> ----------------------------------------
>
>                 Key: NUTCH-2351
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2351
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 2.3.1
>            Reporter: Furkan KAMACI
>            Assignee: Furkan KAMACI
>            Priority: Minor
>             Fix For: 2.4
>
>
> 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.15#6346)

Mime
View raw message