You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/17 20:16:26 UTC

[jira] [Commented] (NUTCH-2351) Log with Generic Class Name at Nutch 2.x

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

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

GitHub user kamaci opened a pull request:

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

    NUTCH-2351 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-2351

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nutch/pull/171.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 #171
    
----
commit c27d65b1f1cba36d0e7a977e978afd11a6a3ddc2
Author: kamaci <fu...@gmail.com>
Date:   2017-01-17T21:14:39Z

    NUTCH-2351 Logging with generic class name.

----


> 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}



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