Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 03105200C29 for ; Tue, 28 Feb 2017 20:37:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 018FC160B59; Tue, 28 Feb 2017 19:37:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4C58D160B7C for ; Tue, 28 Feb 2017 20:37:37 +0100 (CET) Received: (qmail 49400 invoked by uid 500); 28 Feb 2017 19:37:36 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 49388 invoked by uid 99); 28 Feb 2017 19:37:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2017 19:37:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9F19E1A03DA for ; Tue, 28 Feb 2017 19:37:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.993 X-Spam-Level: ** X-Spam-Status: No, score=2.993 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Cqy2wf7DH21w for ; Tue, 28 Feb 2017 19:37:34 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D42F65F403 for ; Tue, 28 Feb 2017 19:37:33 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id n127so35110432qkf.0 for ; Tue, 28 Feb 2017 11:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8fu4xPCh3UnCuYTmkwzK69cqDrIWAuAOKCRa1Ia110w=; b=SdwT6jiCZhRYXYU+cZVlpRj7oLiGEOEdImiIdpknsYciEYFwhAsKHWzy4PhwI79D2X VbHz651Q7Iir57fsBhVgtjwgjldTys6xB2Vw4+dZzkKRJRvtdzfFkiRwNj7lSMSS4uAF KNEyACCisHvrVyCGagZAhO4C45kuxryYeW0p0sMr/lmHpPoe6kXqpPF/fie42DBlTbKh TbK1+v3gjazZAH+ldV7BDcpBZphOhYSa+T+rAYK/jyb21nGuR0Ra+T00RVLGmPR1q7FX TQxG3u3GgwNUa3+B6S52y5OVvIVfnPGP2u8Wl2XbdLwCdznC0weCZXZSWvqLqq0E3W3i aH6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8fu4xPCh3UnCuYTmkwzK69cqDrIWAuAOKCRa1Ia110w=; b=gkHWP7zbiUIIfy0wnCcH607VibYXs9qrmfgI+JMfNG6vvZqMAldZFXc21GagKGP4xP 4CzoYea/kxamiMZ1EsdxRjipTeXO+IauXHVF5YuQxGCWmijiY1BIxHWnGayT+xmNApMi QGhCpcWr5jASBaL694ISvO+yyRhm//Ig7IWR79Fr0VZp7rmlEtvS6B9cpm7DMivyOv3p lECHTWa4HPP26MMJ2aUyhB+LDgnzTZN9+5Q8T3LiaXqcmp2ziJbdThd9/HDnVvyw7gj0 6D5EY2yExJtlmTqn2hZnXHHRDlsDk/WcZFVK/I+KLswWnAmnS+EOfnTuyeAGc1shDVtb Q0jw== X-Gm-Message-State: AMke39nq7g73QsNNLoaI4dLpMBk6SpdJGCLb8RvsRt6acTfrI/807KiycXYP9M51xRPD8QBBqQc1kv/JlRN3CA== X-Received: by 10.200.53.237 with SMTP id l42mr4824806qtb.264.1488310652783; Tue, 28 Feb 2017 11:37:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.34.213 with HTTP; Tue, 28 Feb 2017 11:37:02 -0800 (PST) In-Reply-To: <1488290081721-11960.post@n4.nabble.com> References: <1488290081721-11960.post@n4.nabble.com> From: Fabian Hueske Date: Tue, 28 Feb 2017 20:37:02 +0100 Message-ID: Subject: Re: Flink Application Log :Custom Log properties To: user@flink.apache.org Cc: Robert Metzger Content-Type: multipart/alternative; boundary=001a113d419ac6733b05499c53df archived-at: Tue, 28 Feb 2017 19:37:38 -0000 --001a113d419ac6733b05499c53df Content-Type: text/plain; charset=UTF-8 Hi Sunil, I have not much experience with logging on Yarn, but Robert (in CC) might be able to help you. Cheers, Fabian 2017-02-28 14:54 GMT+01:00 raikarsunil : > Hi , > > Is there any way we can configure application logging by passing the custom > log4j properties file in flink run command? The aim is to write all the > application logs in a specific file rather than the default yarn/flink log > file. > > Currently I am using the below command to run my application : > > flink run -m yarn-cluster -yst -yn 2 -ynm MyAppName -yd -yt > CustomFileLocation JARFILE ARGS > > *NOTE:There are many applications running on the EMR ,looking for solution > without tweaking the log properties in the flink directory.* > > Thanks, > Sunil > > > > -- > View this message in context: http://apache-flink-user- > mailing-list-archive.2336050.n4.nabble.com/Flink- > Application-Log-Custom-Log-properties-tp11960.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. > --001a113d419ac6733b05499c53df Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Sunil,

I have not much expe= rience with logging on Yarn, but Robert (in CC) might be able to help you.<= br>

Cheers, Fabian

<= div class=3D"gmail_quote">2017-02-28 14:54 GMT+01:00 raikarsunil <rsuni= lkle@gmail.com>:
Hi ,

Is there any way we can configure application logging by passing the custom=
log4j properties file in flink run command? The aim is to write all the
application logs in a specific file rather than the default yarn/flink log<= br> file.

Currently I am using the below command to run my application :

flink run -m yarn-cluster -yst -yn 2 -ynm MyAppName -yd -yt
CustomFileLocation JARFILE ARGS

*NOTE:There are many applications running on the EMR ,looking for solution<= br> without tweaking the log properties in the flink directory.*

Thanks,
Sunil



--
View this message in context: http://apache-flink-u= ser-mailing-list-archive.2336050.n4.nabble.com/Flink-Applica= tion-Log-Custom-Log-properties-tp11960.html
Sent from the Apache Flink User Mailing List archive. mailing list archive = at Nabble.com.

--001a113d419ac6733b05499c53df--