Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34C2718249 for ; Wed, 12 Aug 2015 01:35:49 +0000 (UTC) Received: (qmail 79058 invoked by uid 500); 12 Aug 2015 01:35:48 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 79033 invoked by uid 500); 12 Aug 2015 01:35:48 -0000 Mailing-List: contact issues-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list issues@ignite.incubator.apache.org Received: (qmail 79024 invoked by uid 99); 12 Aug 2015 01:35:48 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 01:35:48 +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 7BF681A9D38 for ; Wed, 12 Aug 2015 01:35:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ymknLckROTmU for ; Wed, 12 Aug 2015 01:35:46 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 5C3C9428F6 for ; Wed, 12 Aug 2015 01:35:46 +0000 (UTC) Received: (qmail 78417 invoked by uid 99); 12 Aug 2015 01:35:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 01:35:45 +0000 Date: Wed, 12 Aug 2015 01:35:45 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: issues@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-1228) Invalid logger behavior when log4j configuration cannot be found 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/IGNITE-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Valentin Kulichenko updated IGNITE-1228: ---------------------------------------- Attachment: master_ae11e9b_ignite-1228.patch > Invalid logger behavior when log4j configuration cannot be found > ---------------------------------------------------------------- > > Key: IGNITE-1228 > URL: https://issues.apache.org/jira/browse/IGNITE-1228 > Project: Ignite > Issue Type: Bug > Components: general > Reporter: Alexey Goncharuk > Assignee: Valentin Kulichenko > Priority: Blocker > Fix For: ignite-1.4 > > Attachments: master_ae11e9b_ignite-1228.patch > > > In my tests I started Ignite without a valid log4j configuration file in QUIET mode, this is what I've got in the console: > {code} > log4j:WARN No appenders could be found for logger (org.apache.ignite.internal.util.typedef.G). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. > [00:14:29] __________ ________________ > [00:14:29] / _/ ___/ |/ / _/_ __/ __/ > [00:14:29] _/ // (7 7 // / / / / _/ > [00:14:29] /___/\___/_/|_/___/ /_/ /___/ > [00:14:29] > [00:14:29] ver. 1.3.3#20150803-sha1:7d747d2a > [00:14:29] 2015 Copyright(C) Apache Software Foundation > [00:14:29] > [00:14:29] Ignite documentation: http://ignite.incubator.apache.org > [00:14:29] > [00:14:29] Quiet mode. > [00:14:29] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat} > [00:14:29] > [00:14:29] Configured plugins: > [00:14:29] ^-- None > [00:14:29] > [00:14:31] Security status [authentication=off, communication encryption=off] > [00:14:34] Performance suggestions for grid 'Benchmark' (fix if possible) > [00:14:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true > [00:14:34] ^-- Disable grid events (remove 'includeEventTypes' from configuration) > [00:14:34] > [00:14:34] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat} > [00:14:34] > [00:14:34] Ignite node started OK (id=96b97d66, grid=Benchmark) > [00:14:34] Topology snapshot [ver=1, servers=1, clients=0, CPUs=8, heap=3.0GB] > {code} > When I ran micro-benchmarks in this configuration, it turned out that 90% time is spent in building strings for logger. I checked and {{ignite.log().isDebugEnabled()}} returned {{true}}, which is a serious user experience issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)