XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Loggers in hadoop are created using LogFactory.getLog("some package styled things");

      This is very confusing since the string specified in getLog() sometime is the class name sometime not. (eg : the class org.apache.hadoop.mapred.Task contains a logger created by LogFactory.getLog("org.apache.hadoop.mapred.TaskRunner"); which is very confusing)

      I think that logger should be always created using LogFactory.getLog(MyClass.class); and that if a class needs a logger, then a specific logger must be crated for that class (ie: loggers are private).

      Attachments

        Activity

          People

            Unassigned Unassigned
            phil@anyware-tech.com Philippe Gassmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: