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 4A27F200D01 for ; Fri, 22 Sep 2017 16:50:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 486971609BE; Fri, 22 Sep 2017 14:50:03 +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 8D1981609A7 for ; Fri, 22 Sep 2017 16:50:02 +0200 (CEST) Received: (qmail 24500 invoked by uid 500); 22 Sep 2017 14:50:01 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 24488 invoked by uid 99); 22 Sep 2017 14:50:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Sep 2017 14:50:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C7614D0C91 for ; Fri, 22 Sep 2017 14:50:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.639 X-Spam-Level: ** X-Spam-Status: No, score=2.639 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oqiExeHsbhoh for ; Fri, 22 Sep 2017 14:49:59 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 482A360E70 for ; Fri, 22 Sep 2017 14:49:59 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id k23so1372546lfi.11 for ; Fri, 22 Sep 2017 07:49:59 -0700 (PDT) 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; bh=3aVTbUq+VKU5sNuxSyAlD7JitqjyFyTXRrhx314b5SE=; b=MJs6UC8voNcr06c+7vOTFe9mt5UNJcrF/iIdJGuBCgtGY370KEvzNXQ6MkkxN8emez ZogIjy6TBqNKx2swpnuEE2/NAu8UbU5xsk+JPRkDytAYTtUOoJvddnv1BW11PW1sFBWn MHTnlqs//u8Zqj2PKLH5hXYRQPkhbXZ/bmGoBKoIWw6fpQAz9RvyDZlTZmxaDr/kOchm +qYe52sSLyX61pIJWXa4TSndxcOTufqVk84psypdaDimSuqOuBgfYCQieEPPTeI2poLe AyLyw2qG9NOgQZJgt96AOVcw0x8nKvk5EmcBMSEieH4uQSetM5VpTEjqkuncdIiHRV5e uXJQ== 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; bh=3aVTbUq+VKU5sNuxSyAlD7JitqjyFyTXRrhx314b5SE=; b=qxFjHEC7+eTA0TzQZZJd4skoI7koFxfHFynUyyvJDKsJv3hCCU2IGSbXZ4aono6gfn +ai7qYa54y34GSb1MheXrbiw/06t68Uh7UI8Yb/d4EcrWPW1m2zlDRxuCrNxVCs4BO1R 7xs2vSvyqWiynrMp+vSNvChYvRmM42quXgSHS308I4f8yS4d5w1vxUx/p7jd82AlcMOP 7uKeaqFGAdb8UzdzCdFRTR8GOS8b6O0IVX0LFrCkwi9/PdC2ZFE25kyMYqBMHP7iQFrZ wZ59HiAQZGbo3m4NcchuuZSL/jADW0hBQidKOpS/KM2nMDtCtUln7yYmxB8tcEXdQKWx eOMA== X-Gm-Message-State: AHPjjUhTHvFeVRLIKB4G4w7t3clw/CgPa65fhY9L2S6MRBaVqVg8Aw8g QlQGGaNqlg8Et+56+SV7bInNJlL/Sk4RhIZv7JCDY4NK X-Google-Smtp-Source: AOwi7QDHCDODDRG466cFHzKz6BW3OcSAEf+kNtcZAs7C6p5SzWzGzr58I9evS7VrDSklF7Vfp/VTduLSS+l7S29aLs0= X-Received: by 10.25.150.3 with SMTP id y3mr2235528lfd.237.1506091798531; Fri, 22 Sep 2017 07:49:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.26.70 with HTTP; Fri, 22 Sep 2017 07:49:58 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?0JjQstCw0L0g0KTQtdC00L7RgtC+0LI=?= Date: Fri, 22 Sep 2017 17:49:58 +0300 Message-ID: Subject: Re: IGNITE-5798 - Logging Ignite configuration at startup To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a113f9f34a693a00559c852a6" archived-at: Fri, 22 Sep 2017 14:50:03 -0000 --001a113f9f34a693a00559c852a6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Igniters, sorry for the wrong format of the previous letter. Below is the letter in the correct format. Now I=E2=80=99m working at ticket #5798[1] =E2=80=9CLogging Ignite configur= ation at startup=E2=80=9D and have the following questions: 1.Should I get fields and their values only from IgniteConfiguration or I should also get them from inherited classes? If second variant is correct , what level of inheritance should I use? 2.Should I log fields with null values? 3.Is format [field] : [value.toString] appropriate? Or [field] : [GridToStringBuilder.toString(value)] is better? 4.About =E2=80=9CI=E2=80=99ve found that IgniteConfiguration is not logged = even when -DIGNITE_QUIET=3Dfalse=E2=80=9D. Does it mean that I should log IgniteConfi= guration when log.isQuiet =3D false to the file and terminal? [1] https://issues.apache.org/jira/browse/IGNITE-5798 2017-09-22 17:23 GMT+03:00 =D0=98=D0=B2=D0=B0=D0=BD =D0=A4=D0=B5=D0=B4=D0= =BE=D1=82=D0=BE=D0=B2 : > > > > > > *Hello, Igniters!Now I=E2=80=99m working at ticket #5798[1] =E2=80=9CLogg= ing Ignite > configuration at startup=E2=80=9D and have the following questions: 1. Sh= ould I get > fields and their values only from IgniteConfiguration or I should also ge= t > them from inherited classes? If second variant is correct , what level of > inheritance should I use?2. Should I log fields with null values?3. Is > format [field] : [value.toString] appropriate? Or [field] : > [GridToStringBuilder.toString(value)] is better?4. About =E2=80=9CI=E2=80= =99ve found that > IgniteConfiguration is not logged even when -DIGNITE_QUIET=3Dfalse=E2=80= =9D. Does it > mean that I should log IgniteConfiguration when log.isQuiet =3D false to = the > file and terminal?[1] https://issues.apache.org/jira/browse/IGNITE-5798 > * > > -- > Ivan Fedotov. > > ivanan639@gmail.com > --=20 Ivan Fedotov. ivanan639@gmail.com --001a113f9f34a693a00559c852a6--