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

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

sebastian-nagel commented on issue #171: NUTCH-2351 Logging with generic class 
name.
URL: https://github.com/apache/nutch/pull/171#issuecomment-292140453
 
 
   Merged into 2.x.
 
----------------------------------------------------------------
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:
us...@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)

Reply via email to