[
https://issues.apache.org/jira/browse/NUTCH-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828683#comment-15828683
]
ASF GitHub Bot commented on NUTCH-2352:
---------------------------------------
GitHub user kamaci opened a pull request:
https://github.com/apache/nutch/pull/172
NUTCH-2352 Logging with generic class name.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kamaci/nutch NUTCH-2352
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nutch/pull/172.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #172
----
commit ea921b71ea2e1bf480b7417443fa04829c31cf82
Author: kamaci <[email protected]>
Date: 2017-01-18T21:00:06Z
NUTCH-2352 Logging with generic class name.
----
> 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)