nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (NUTCH-2351) Log with Generic Class Name at Nutch 2.x
Date Thu, 06 Apr 2017 11:04:41 GMT


ASF GitHub Bot commented on NUTCH-2351:

sebastian-nagel commented on issue #171: NUTCH-2351 Logging with generic class name.
   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:

> Log with Generic Class Name at Nutch 2.x
> ----------------------------------------
>                 Key: NUTCH-2351
>                 URL:
>             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

View raw message