Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB21511CE6 for ; Wed, 16 Apr 2014 17:54:26 +0000 (UTC) Received: (qmail 25497 invoked by uid 500); 16 Apr 2014 17:54:18 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 25335 invoked by uid 500); 16 Apr 2014 17:54:17 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 25232 invoked by uid 99); 16 Apr 2014 17:54:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 17:54:16 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_IMAGE_ONLY_32,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ashwinshankar77@gmail.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 17:54:11 +0000 Received: by mail-qa0-f46.google.com with SMTP id i13so10721692qae.5 for ; Wed, 16 Apr 2014 10:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PrgEwoKldgjnGS405Gx1MHs9FXM/ktoYtQH71MJcE2M=; b=Im0KjAlRnLRwp3ek/6Jmj/zaVsL5Vg6WQUGx+d9VyFPjois0Tv3xylIXrj2IhqQvUn foqaiyb8KpicyXCFk6OrnhQf/pHTBEuWsphgk0Yyxwdhl0m7Qsm3s2xlLgYBPJhRHyYl TE9/LxyfFi+/qoLdW+yUhPCIDqO8Zfdbj7yekuorp4B5+NSveXtuwKaH6F3D7iEMib7z 3iZfQrUwhB7D1UYx8sga4+cl1JaZgOyKtuSJ9E1pXsNyjo3gIukeo2nh7WMlzS8WkSpZ oE8v4KBnH35huxejp2NoLHxYDzN8XPY+9obVE/M9BV1dTOspkb1blEt30DxuamE5CWTp qa1w== MIME-Version: 1.0 X-Received: by 10.140.94.39 with SMTP id f36mr5260244qge.64.1397670829318; Wed, 16 Apr 2014 10:53:49 -0700 (PDT) Received: by 10.224.51.131 with HTTP; Wed, 16 Apr 2014 10:53:49 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Apr 2014 10:53:49 -0700 Message-ID: Subject: Re: Setting debug log level for individual daemons From: Ashwin Shankar To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a113a98d04b675204f72c99d6 X-Virus-Checked: Checked by ClamAV on apache.org --001a113a98d04b675204f72c99d6 Content-Type: text/plain; charset=UTF-8 Yes, thank you Stanley ! Ashwin On Tue, Apr 15, 2014 at 8:01 PM, Stanley Shi wrote: > Is this what you are looking for? > > http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-common/CommandsManual.html#daemonlog > > Regards, > *Stanley Shi,* > > > > On Wed, Apr 16, 2014 at 2:06 AM, Ashwin Shankar > wrote: > >> Thanks Gordon and Stanley, but this would require us to bounce the >> process. >> Is there a way to change log levels without bouncing the process ? >> >> >> >> On Tue, Apr 15, 2014 at 3:23 AM, Gordon Wang wrote: >> >>> Put the following line in the log4j setting file. >>> >>> log4j.logger.org.apache.hadoop.yarn.server.resourcemanager=DEBUG,console >>> >>> >>> On Tue, Apr 15, 2014 at 8:33 AM, Ashwin Shankar < >>> ashwinshankar77@gmail.com> wrote: >>> >>>> Hi, >>>> How do we set log level to debug for lets say only Resource manager >>>> and not the other hadoop daemons ? >>>> >>>> -- >>>> Thanks, >>>> Ashwin >>>> >>>> >>>> >>> >>> >>> -- >>> Regards >>> Gordon Wang >>> >> >> >> >> -- >> Thanks, >> Ashwin >> >> >> > -- Thanks, Ashwin --001a113a98d04b675204f72c99d6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, thank you Stanley !

Ashwin


On Tue, A= pr 15, 2014 at 8:01 PM, Stanley Shi <sshi@gopivotal.com> wr= ote:

Regards,
Stanley Shi,



On Wed, Apr 16, 2014 at 2:06 AM, Ashwin = Shankar <ashwinshankar77@gmail.com> wrote:
Thanks Gordon and Stanley, but this would require us to bo= unce the process.
Is there a way to change log levels without bouncing = the process ?



On Tue, Apr 15, 2014 at 3:23 AM, Gordon Wang <gwang@gopivotal.com&g= t; wrote:
Put the following line in the log4j setting file.

=
log4j.logger.org.apache.hadoop.yarn.server.resourcemanager=3DDEB= UG,console


On Tue, Apr 15, 2014 at 8:33 AM, Ashwin Shankar <ashwinshankar77@g= mail.com> wrote:
Hi,
How do we set log level to debug for lets say only= Resource manager=C2=A0
and not the other hadoop daemons ?
<= span>

--=C2=A0
Thanks,
Ashwin





<= font color=3D"#888888">--
Regards
Gordon Wan= g



<= font color=3D"#888888">--
Thanks,
Ashwin





--
Thanks,
Ashwin


--001a113a98d04b675204f72c99d6--