You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/12/19 03:01:48 UTC

[jira] Commented: (HADOOP-4899) Mutliple times wrong class provided for logger instantiation

    [ https://issues.apache.org/jira/browse/HADOOP-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657969#action_12657969 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4899:
------------------------------------------------

> I noticed the wrong class was being provided for the logger instantiation (LOG = LogFactory.getLog(UserGroupInformation.class, should be LogFactory.getLog(PermissionChecker.class););.  Probably a copy-and-paste mistake.

Actually, I did this on purpose: so that we could grep "UserGroupInformation" for all the permission related log messages.  I am fine if you want to change it.

> Mutliple times wrong class provided for logger instantiation
> ------------------------------------------------------------
>
>                 Key: HADOOP-4899
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4899
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>            Priority: Minor
>         Attachments: HADOOP-4899.patch, HADOOP-4899.patch
>
>
> Working in PermissionChecker.java I noticed the wrong class was being provided for the logger instantiation (LOG = LogFactory.getLog(UserGroupInformation.class, should be LogFactory.getLog(PermissionChecker.class););.  Probably a copy-and-paste mistake.  I searched through the source files and found several other instances across the project of this error.  This could cause problems when trying to examine the logs, as entries would appear to be coming from the incorrect class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.