Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 56623 invoked from network); 25 Feb 2011 14:38:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 14:38:10 -0000 Received: (qmail 9656 invoked by uid 500); 25 Feb 2011 14:38:10 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 9501 invoked by uid 500); 25 Feb 2011 14:38:08 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 9217 invoked by uid 500); 25 Feb 2011 14:38:04 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 9206 invoked by uid 99); 25 Feb 2011 14:38:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 14:38:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 14:38:03 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A91441B76F7 for ; Fri, 25 Feb 2011 14:37:43 +0000 (UTC) Date: Fri, 25 Feb 2011 14:37:43 +0000 (UTC) From: "Chinna Rao Lalam (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1856799354.16127.1298644663688.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <714756527.15814.1298634041737.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HIVE-2007) Executing queries using Hive Server is not logging to the log file specified in hive-log4j.properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999377#comment-12999377 ] Chinna Rao Lalam commented on HIVE-2007: ---------------------------------------- While starting the HiveServer, logger initialized with default properties it needs to be reinitialized with the hive-log4j.properties. so we can follow the same strategy in main() of HiveServer.java(i.e. when Hive is started in server mode) as done in main() of CliDriver.java(i.e. Hive is started in cli mode). {noformat} Note: Logging behavior change is once it is reinitialized it will log in file rather than on the console. Currently it is considering consoleappender so all the log messages are coming on to the console. {noformat} > Executing queries using Hive Server is not logging to the log file specified in hive-log4j.properties > ----------------------------------------------------------------------------------------------------- > > Key: HIVE-2007 > URL: https://issues.apache.org/jira/browse/HIVE-2007 > Project: Hive > Issue Type: Bug > Components: Server Infrastructure > Affects Versions: 0.7.0 > Environment: Hadoop 0.20.1, Hive0.7.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5). > Reporter: Chinna Rao Lalam > Assignee: Chinna Rao Lalam > Attachments: HIVE-2007.patch > > > Start Hive Server by specifying the log details ( filelocation , appender , loglevel ) in hive-log4j.properties, but logging is not happening as per the details provided in the hive-log4j.properties. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira