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 12A18116F6 for ; Wed, 16 Apr 2014 03:02:31 +0000 (UTC) Received: (qmail 24844 invoked by uid 500); 16 Apr 2014 03:02:08 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 24250 invoked by uid 500); 16 Apr 2014 03:02:07 -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 24242 invoked by uid 99); 16 Apr 2014 03:02:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 03:02:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_IMAGE_ONLY_28,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sshi@gopivotal.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 03:02:01 +0000 Received: by mail-pb0-f47.google.com with SMTP id up15so10315512pbc.20 for ; Tue, 15 Apr 2014 20:01:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=xD6x8DVw7fc5RArhyKSMp5PY0dcigRQlxE9Indmltak=; b=HttvH25X1MUqXu0TtPkrTsyCXpu3Z0JhB2Q68RMHhaAeNaA100PI/5zhEmLQvijqtc ddQxUbADXnh48empWMBVBEQSKrM5Bt6J/uoUclUtN/nFNHQr9je3y79HtP/eP1stGIrk ru5oJQQ4wMZx9OtObKvdQzqSlaF3/jeLD/ENdSligTjdSV13ineRW73Kl4s5xlHsXkcO eMtZljRBQ8Skf5Q2i/QrNhe/Ix8Wofc40wpGPlERC0e1x/3R/ebwjYZ8HxnRUT2DPnO0 O1BVWqvY1EbHcchfpn70+BgZYxVz4miSGMrc+12+UyetKICGodc/Po7Ts/Hk9j4Bvx0G pWbw== X-Gm-Message-State: ALoCoQl/Pk++FOE5yZ2l1GJJNdLpFvBeEolB0zZQs3oLk3Yrdy1Uh3G5mBwqVSN/vDIUk6EngsvS MIME-Version: 1.0 X-Received: by 10.68.138.227 with SMTP id qt3mr5919777pbb.6.1397617301233; Tue, 15 Apr 2014 20:01:41 -0700 (PDT) Received: by 10.70.92.110 with HTTP; Tue, 15 Apr 2014 20:01:41 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Apr 2014 11:01:41 +0800 Message-ID: Subject: Re: Setting debug log level for individual daemons From: Stanley Shi To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=e89a8f83a5e5c5b4e304f7202294 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f83a5e5c5b4e304f7202294 Content-Type: text/plain; charset=UTF-8 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 > > > --e89a8f83a5e5c5b4e304f7202294 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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



--
Thanks,
= Ashwin



--e89a8f83a5e5c5b4e304f7202294--