Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 96521 invoked from network); 7 Mar 2007 16:44:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2007 16:44:53 -0000 Received: (qmail 93535 invoked by uid 500); 7 Mar 2007 16:44:54 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 93464 invoked by uid 500); 7 Mar 2007 16:44:54 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 93366 invoked by uid 99); 7 Mar 2007 16:44:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 08:44:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 08:44:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 19390714083 for ; Wed, 7 Mar 2007 08:44:24 -0800 (PST) Message-ID: <23285614.1173285864082.JavaMail.root@brutus> Date: Wed, 7 Mar 2007 08:44:24 -0800 (PST) From: "Philippe Gassmann (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-1078) Improve logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Improve logging --------------- Key: HADOOP-1078 URL: https://issues.apache.org/jira/browse/HADOOP-1078 Project: Hadoop Issue Type: Improvement Reporter: Philippe Gassmann 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). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.