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 43394200D0C for ; Wed, 6 Sep 2017 04:51:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 41A08161D99; Wed, 6 Sep 2017 02:51:56 +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 DF7041619BD for ; Wed, 6 Sep 2017 04:51:54 +0200 (CEST) Received: (qmail 47234 invoked by uid 500); 6 Sep 2017 02:51:54 -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 47221 invoked by uid 99); 6 Sep 2017 02:51:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2017 02:51:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EBD91183423 for ; Wed, 6 Sep 2017 02:51:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 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_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] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id J3tEt143GLJ0 for ; Wed, 6 Sep 2017 02:51:44 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1610761260 for ; Wed, 6 Sep 2017 02:51:44 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id u26so25786045wma.0 for ; Tue, 05 Sep 2017 19:51:44 -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 :cc; bh=wQSoHllnw93krgyo0YTvlDVM+mbkv+v2piEBZvv6nes=; b=s+lAaH1O/Oy8P4xfiAZlz2Dt3c1LodcS5sFlWiCGUmX+NOnn+6nQfeoXv4M4OeYxm3 j3390PmBUNMf4gEmZZIw8dlWC6lUlGqPvqNPWyYEtrnMaIw/JZ+pWosnaq49MLr3zWHd xj8EBLVcz2lWuS7unZEy+ntp4A/j0p64dpbNLpcGEtmpU83uLAm8D+2o3rQRs58HBy27 HOUN57s6XCSynDxH1xcLO/ybzojL9sjCey2MtFfzbfUB5AujgiHSM2OY7w4xQ3KF626u MJZ5lfrcKfH/SNKgikzT9RopR0K3vs9H652zDsHCHVhtrwMxtUKr98ZFINmBIX7Torwh khIw== 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=wQSoHllnw93krgyo0YTvlDVM+mbkv+v2piEBZvv6nes=; b=otaycmOhVW6B2Ri7eFRorV1XEU+q3Udm5rspokuIGx6xVNPqUqRX4Y72KL5/Zifz2+ NjNcIpJ/81+1UUlHP8Bx22PDrTwhnuJ55KnkXVWFcYx28Cezn51LeY965rhMDNUEhHYH PMGUoW8a3tIuLBIxrGZG7bWPUsYDOa3pwVPfxlrLu9uHATAEC/h7RtDv8tOFFgW/1rpR f2ofMf5KIURrJWzaQGicj+t2aFsx6cj/mhAiQxhO2i6Z91Z3bT8Xqas3Gi3thG50Ac0V /OiUzjffsS2fMkQU9d4VpbI8AvQtRkgUL67aeGF7G4nwyKKg0q1RSclNoY2MIpZriTWY oMmQ== X-Gm-Message-State: AHPjjUhFtjBTy7K1lrd9IYtg9tV/JHsi5S86RpjmFWPiQV59SBU+P8Ff WcL/VvIb+lWfPSGK4wQUd626r+yWOnVAY88= X-Google-Smtp-Source: ADKCNb53HAdFcTbDxaQx9PnewM016/mGukF25OVEFh0qGjblhbgPWlo6678lMPvSMw5d65aVRXz1fCxguG2URZ7KYnY= X-Received: by 10.28.230.198 with SMTP id e67mr648424wmi.8.1504666302698; Tue, 05 Sep 2017 19:51:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.160.60 with HTTP; Tue, 5 Sep 2017 19:51:22 -0700 (PDT) In-Reply-To: References: From: Rishi Yagnik Date: Tue, 5 Sep 2017 21:51:22 -0500 Message-ID: Subject: Re: How to configure ignite-jcl and Ignite-slf4j logger To: dev@ignite.apache.org Cc: Nikolay Tikhonov , Denis Magda Content-Type: multipart/alternative; boundary="001a1147c8207a59a105587c6c07" archived-at: Wed, 06 Sep 2017 02:51:56 -0000 --001a1147c8207a59a105587c6c07 Content-Type: text/plain; charset="UTF-8" Just sending it for your reference - Copied ignite-log* library in ignite lib folder Renamed ignite-log4j to log4j.xml for log4j configuration Renamed ignite-log4j2 to log4j2.xml for log4j configuration Copied respective log file config in config location so that it can be picked up during start up of ignite On Tue, Sep 5, 2017 at 5:52 PM, Valentin Kulichenko < valentin.kulichenko@gmail.com> wrote: > Prachi, > > Parameter of Log4JLogger constructor is not the path to XML file, it's just > a name of root logger. Ignite logger configuration should look like this: > > > > > > > > > > > > ignite-log4j.xml file should be renamed to log4j.xml and moved to root of > classpath (e.g. in 'resources' folder). This way it will be picked up > automatically. > > -Val > > On Mon, Sep 4, 2017 at 11:01 PM, Prachi Garg wrote: > > > Valentin, Nikolai, > > > > I have published my example on github - > > https://github.com/pgarg/myIgniteExamples > > > > On Mon, Sep 4, 2017 at 7:57 PM, Rishi Yagnik > > wrote: > > > > > I have configured log4j, log4j-2 in our environment, can share > additional > > > details here if you need it. > > > > > > On Mon, Sep 4, 2017 at 11:54 AM, Nikolai Tikhonov < > ntikhonov@apache.org> > > > wrote: > > > > > >> Prachi, > > >> > > >> I've published on github example with configured JCL logger. Please, > > have > > >> a > > >> look: https://github.com/TikhonovNikolay/jcl-ignite-example > > >> > > >> On Sat, Sep 2, 2017 at 12:36 AM, Prachi Garg > > wrote: > > >> > > >> > Yes, I tried using it, but strangely this is the output I get when > use > > >> > -DIGNITE_QUIET=false > > >> > ( I set this property in Idea ->Run -> Edit Configurations -> VM > > >> options) > > >> > > > >> > 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. > > >> > Sep 01, 2017 2:33:07 PM java.util.logging.LogManager$RootLogger log > > >> > SEVERE: Failed to resolve default logging config file: > > >> > config/java.util.logging.properties > > >> > class org.apache.ignite.internal.GridLoggerProxy > > >> > > > >> > Process finished with exit code 0 > > >> > > > >> > > > >> > On Fri, Sep 1, 2017 at 2:30 PM, Valentin Kulichenko < > > >> > valentin.kulichenko@gmail.com> wrote: > > >> > > > >> > > Prachi, > > >> > > > > >> > > It looks like you're running in quiet mode. Did you try to set > > >> > > -DIGNITE_QUIET=false > > >> > > system property? > > >> > > > > >> > > -Val > > >> > > > > >> > > On Fri, Sep 1, 2017 at 10:43 AM, Prachi Garg > > >> wrote: > > >> > > > > >> > > > Nikolai, > > >> > > > > > >> > > > I have specified 'gridlogger' property in 'IgniteConfiguration', > > but > > >> > > looks > > >> > > > like it does not get instantiated. > > >> > > > > > >> > > > > >> > > > class="org.apache.ignite.configuration.IgniteConfiguration"> > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > >> > > > value="/Users/prachig/myexamples/config/ignite-log4j.xml"/> > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > ... > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > On Fri, Sep 1, 2017 at 10:16 AM, Nikolay Tikhonov < > > >> > > ntikhonov@gridgain.com> > > >> > > > wrote: > > >> > > > > > >> > > > > Hi Denis, > > >> > > > > > > >> > > > > JCL it's wrapper for logging system (similar sl4j) which can > be > > >> used > > >> > > > > together with log4j. I guess that JavaDoc correct. > > >> > > > > > > >> > > > > On Fri, Sep 1, 2017 at 5:40 PM, Denis Magda < > dmagda@apache.org> > > >> > wrote: > > >> > > > > > > >> > > > > > Nikolai, > > >> > > > > > > > >> > > > > > Looking at JCL documentation I see the usage of Log4j > together > > >> with > > >> > > > JCL: > > >> > > > > > > > >> > > > > > *
> > >> > > > > > *      ...
> > >> > > > > > *      <property name="gridLogger">
> > >> > > > > > *          <bean class="org.apache.ignite.
> > >> > > logger.jcl.JclLogger">
> > >> > > > > > *              <constructor-arg type="org.apache.commons.
> > >> > > > > > logging.Log">
> > >> > > > > > *                  <bean class="org.apache.commons.
> > >> > > > > > logging.impl.Log4JLogger">
> > >> > > > > > *                      <constructor-arg
> > >> type="java.lang.String"
> > >> > > > > > value="config/ignite-log4j.xml"/>
> > >> > > > > > *                  </bean>
> > >> > > > > > *              </constructor-arg>
> > >> > > > > > *          </bean>
> > >> > > > > > *      </property>
> > >> > > > > > *      ...
> > >> > > > > > * 
> > >> > > > > > > > >> > > > > > > > >> > > > > > or > > >> > > > > > > > >> > > > > > * And the same configuration if you'd like to configure > Ignite > > >> in > > >> > > your > > >> > > > > > code: > > >> > > > > > *
> > >> > > > > > *      IgniteConfiguration cfg = new IgniteConfiguration();
> > >> > > > > > *      ...
> > >> > > > > > *      IgniteLogger log = new JclLogger(new
> > >> > > Log4JLogger("config/ignite-
> > >> > > > > > log4j.xml"));
> > >> > > > > > *      ...
> > >> > > > > > *      cfg.setGridLogger(log);
> > >> > > > > > * 
> > >> > > > > > > > >> > > > > > > > >> > > > > > Is it wrong? Could you fix the Java Doc in a proper way? > > >> > > > > > > > >> > > > > > > > >> > > > > > > On Sep 1, 2017, at 3:12 AM, Nikolai Tikhonov < > > >> > ntikhonov@apache.org > > >> > > > > > >> > > > > > wrote: > > >> > > > > > > > > >> > > > > > > Hello Prachi! > > >> > > > > > > > > >> > > > > > > You need to set gridLogger property in IgniteConfiguration > > and > > >> > > remove > > >> > > > > > ignite-log4j dependency from POM file. > > >> > > > > > > > > >> > > > > > > For example for Sl4j logger: > > >> > > > > > > > > >> > > > > > > igniteConfiguration.setGridLogger(new Slf4jLogger()); > > >> > > > > > > > > >> > > > > > > and for Jc logger: > > >> > > > > > > > > >> > > > > > > igniteConfiguration.setGridLogger(new JclLogger()); > > >> > > > > > > > > >> > > > > > > On Fri, Sep 1, 2017 at 2:44 AM, Prachi Garg < > > >> pgarg@gridgain.com > > >> > > > > > >> > > > > > pgarg@gridgain.com>> wrote: > > >> > > > > > > Engineers, > > >> > > > > > > > > >> > > > > > > In the attempt to document loggers supported by Ignite, I > am > > >> > > having a > > >> > > > > > hard > > >> > > > > > > time configuring ignite-jcl and ignite-slf4j (I could > > >> configure > > >> > > log4j > > >> > > > > and > > >> > > > > > > log4j2). I don't see the log message on my console when I > > use > > >> > > > > ignite-jcl > > >> > > > > > or > > >> > > > > > > ignite-slf4j. > > >> > > > > > > > > >> > > > > > > Below is the configuration and sample code I am using: > > >> > > > > > > > > >> > > > > > > *ignite-log4j.xml* > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > xmlns:log4j='http://jakarta.apache.org/log4j/ < > > >> > > > > > http://jakarta.apache.org/log4j/>'> > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > >> value="%d{yyyy-MM-dd > > >> > > > > > > HH:mm:ss} %-5p %c{1}:%L - %m%n" /> > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > *Maven dependency -* > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > org.apache.ignite > > >> > > > > > > ignite-log4j > > >> > > > > > > 2.1.0 > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > org.apache.ignite > > >> > > > > > > ignite-jcl > > >> > > > > > > 2.1.0 > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > *Configuration for JCL ( as specified in javadoc)- * > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > value="/Users/prachig/myexamples/config/ignite- > log4j.xml"/> > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > *Sample code I am using- * > > >> > > > > > > > > >> > > > > > > public class LoggerExample { > > >> > > > > > > public static void main(String[] args) throws > > >> > IgniteException { > > >> > > > > > > try (Ignite ignite = > > >> > > > > > > Ignition.start("/Users/prachig/myexamples/config/ > > >> > > > cluster-config.xml")) > > >> > > > > > > { > > >> > > > > > > ignite.log().info("Info Message 1 Logged > !!!"); > > >> > > > > > > ignite.log().info("Info Message 2 Logged > !!!"); > > >> > > > > > > > > >> > > > > > > System.out.println(ignite.log().getClass()); > > >> > > > > > > } > > >> > > > > > > } > > >> > > > > > > } > > >> > > > > > > > > >> > > > > > > *Output* > > >> > > > > > > > > >> > > > > > > /Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > 74.jdk/Contents/Home/bin/java > > >> > > > > > > -Didea.launcher.port=7535 > > >> > > > > > > "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA > > >> > > > > > > CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath > > >> > > > > > > "/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/ > > >> > > > > > Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/ > > >> > > > > > lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1. > > >> > > > > > 8.0_74.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/ > > >> > > > > > Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/ > > >> > > > > > lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1. > > >> > > > > > 8.0_74.jdk/Contents/Home/jre/lib/ext/localedata.jar:/ > Library > > >> /Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > ext/sunjce_provider.jar:/Library/Java/ > > >> > JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/ > > >> > > > > > Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/ > > >> > > > > > lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1. > > >> > > > > > 8.0_74.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > management-agent.jar:/Library/ > Java/JavaVirtualMachines/jdk1. > > >> > > > > > 8.0_74.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/ > > >> > > > > > resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/lib/ant- > > >> > > > > > javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/lib/dt.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/lib/ > > >> > > > > > javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/lib/ > > >> > > > > > packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_ > > >> > > > > > 74.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/ > > >> > > > > > JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/lib/ > > >> > > > > > tools.jar:/Users/prachig/myexamples/target/classes:/ > > >> > > > > > Users/prachig/.m2/repository/org/apache/ignite/ignite-core/ > > >> > > > > > 2.1.0/ignite-core-2.1.0.jar:/Users/prachig/.m2/repository/ > > >> > > > > > javax/cache/cache-api/1.0.0/cache-api-1.0.0.jar:/Users/ > > >> > > > > > prachig/.m2/repository/org/jetbrains/annotations/13.0/ > > >> > > > > > annotations-13.0.jar:/Users/prachig/.m2/repository/org/ > > >> > > > > > gridgain/ignite-shmem/1.0.0/ignite-shmem-1.0.0.jar:/Users/ > > >> > > > > > prachig/.m2/repository/org/apache/ignite/ignite-spring/2. > > >> > > > > > 1.0/ignite-spring-2.1.0.jar:/Users/prachig/.m2/repository/ > > >> > > > > > org/apache/ignite/ignite-indexing/2.1.0/ignite- > > >> > > > > indexing-2.1.0.jar:/Users/ > > >> > > > > > prachig/.m2/repository/commons-codec/commons-codec/1. > > >> > > > > > 6/commons-codec-1.6.jar:/Users/prachig/.m2/repository/ > > >> > > > > > org/apache/lucene/lucene-core/5.5.2/lucene-core-5.5.2.jar:/ > > >> > > > > > Users/prachig/.m2/repository/org/apache/lucene/lucene- > > >> > > > > > analyzers-common/5.5.2/lucene-analyzers-common-5.5.2.jar:/ > > >> > > > > > Users/prachig/.m2/repository/org/apache/lucene/lucene- > > >> > > > > > queryparser/5.5.2/lucene-queryparser-5.5.2.jar:/Users/ > > >> > > > > > prachig/.m2/repository/org/apache/lucene/lucene-queries/ > > >> > > > > > 5.5.2/lucene-queries-5.5.2.jar:/Users/prachig/.m2/ > > >> > > > > > repository/org/apache/lucene/lucene-sandbox/5.5.2/lucene- > > >> > > > > > sandbox-5.5.2.jar:/Users/prachig/.m2/repository/com/ > > >> > > > > > h2database/h2/1.4.195/h2-1.4.195.jar:/Users/prachig/.m2/ > > >> > > > repository/org/ > > >> > > > > > springframework/spring-core/4. > 3.7.RELEASE/spring-core-4.3.7. > > >> > > > > > RELEASE.jar:/Users/prachig/.m2/repository/commons-logging/ > > >> > > > > > commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/ > > >> > > > > > prachig/.m2/repository/org/springframework/spring-aop/4. > > >> > > > > > 3.7.RELEASE/spring-aop-4.3.7.RELEASE.jar:/Users/prachig/. > > >> > > > > > m2/repository/org/springframework/spring-beans/ > > >> > > > > > 4.3.7.RELEASE/spring-beans-4.3.7.RELEASE.jar:/Users/ > > >> > > > > > prachig/.m2/repository/org/springframework/spring- > > >> > > > > > context/4.3.7.RELEASE/spring-context-4.3.7.RELEASE.jar:/ > > >> > > > > > Users/prachig/.m2/repository/org/springframework/spring- > > >> > > > > > expression/4.3.7.RELEASE/spring-expression-4.3.7. > > >> > > > > > RELEASE.jar:/Users/prachig/.m2/repository/org/ > > >> > > > > > springframework/spring-tx/4.3.7.RELEASE/spring-tx-4.3.7. > > >> > > > > > RELEASE.jar:/Users/prachig/.m2/repository/org/ > > >> > > > > > springframework/spring-jdbc/4. > 3.7.RELEASE/spring-jdbc-4.3.7. > > >> > > > > > RELEASE.jar:/Users/prachig/.m2/repository/org/apache/ > > >> > > > > > ignite/ignite-log4j2/2.1.0/ignite-log4j2-2.1.0.jar:/ > > >> > > > > > Users/prachig/.m2/repository/org/apache/logging/log4j/ > > >> > > > > > log4j-api/2.8.1/log4j-api-2.8.1.jar:/Users/prachig/.m2/ > > >> > > > > > repository/org/apache/logging/log4j/log4j-core/2.8.1/log4j- > > >> > > > > > core-2.8.1.jar:/Users/prachig/.m2/repository/org/apache/ > > >> > > > > > ignite/ignite-log4j/2.1.0/ignite-log4j-2.1.0.jar:/Users/ > > >> > > > > > prachig/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar: > > >> > > > > > /Users/prachig/.m2/repository/org/apache/ignite/ignite-jcl/ > > >> > > > > > 2.1.0/ignite-jcl-2.1.0.jar:/Users/prachig/.m2/repository/ > > >> > > > > > org/apache/ignite/ignite-slf4j/2.1.0/ignite-slf4j-2.1. > > >> > > > > > 0.jar:/Users/prachig/.m2/repository/org/slf4j/slf4j- > > >> > > > > > api/1.7.7/slf4j-api-1.7.7.jar: > /Users/prachig/.m2/repository/ > > >> > > > > > mysql/mysql-connector-java/5.1.6/mysql-connector-java-5.1. > > >> > > > > > 6.jar:/Users/prachig/.m2/repository/net/spy/spymemcached/2. > > >> 11.7/ > > >> > > > > > spymemcached-2.11.7.jar:/Applications/IntelliJ > > >> > > > > > > IDEA CE.app/Contents/lib/idea_rt.jar" > > >> > > > > > > com.intellij.rt.execution.application.AppMain > > >> > > > > > > ignite.myexamples.LoggerExample > > >> > > > > > > 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 > > >> > > > < > > >> > > > > > http://logging.apache.org/log4j/1.2/faq.html#noconfig> > > >> > > > > > > for more info. > > >> > > > > > > [15:59:49] __________ ________________ > > >> > > > > > > [15:59:49] / _/ ___/ |/ / _/_ __/ __/ > > >> > > > > > > [15:59:49] _/ // (7 7 // / / / / _/ > > >> > > > > > > [15:59:49] /___/\___/_/|_/___/ /_/ /___/ > > >> > > > > > > [15:59:49] > > >> > > > > > > [15:59:49] ver. 2.1.0#20170720-sha1:a6ca5c8a > > >> > > > > > > [15:59:49] 2017 Copyright(C) Apache Software Foundation > > >> > > > > > > [15:59:49] > > >> > > > > > > [15:59:49] Ignite documentation: http://ignite.apache.org > < > > >> > > > > > http://ignite.apache.org/> > > >> > > > > > > [15:59:49] > > >> > > > > > > [15:59:49] Quiet mode. > > >> > > > > > > [15:59:49] ^-- To see **FULL** console log here add > > >> > > > > > > -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat} > > >> > > > > > > [15:59:49] > > >> > > > > > > [15:59:49] OS: Mac OS X 10.12.1 x86_64 > > >> > > > > > > [15:59:49] VM information: Java(TM) SE Runtime Environment > > >> > > > > > > 1.8.0_74-b02 Oracle Corporation Java HotSpot(TM) 64-Bit > > >> Server VM > > >> > > > > > > 25.74-b02 > > >> > > > > > > [15:59:49] Initial heap size is 256MB (should be no less > > than > > >> > > 512MB, > > >> > > > > > > use -Xms512m -Xmx512m). > > >> > > > > > > [15:59:49] Configured plugins: > > >> > > > > > > [15:59:49] ^-- None > > >> > > > > > > [15:59:49] > > >> > > > > > > [15:59:49] Message queue limit is set to 0 which may lead > to > > >> > > > potential > > >> > > > > > > OOMEs when running cache operations in FULL_ASYNC or > > >> PRIMARY_SYNC > > >> > > > > > > modes due to message queues growth on sender and receiver > > >> sides. > > >> > > > > > > [15:59:49] Security status [authentication=off, > tls/ssl=off] > > >> > > > > > > Aug 31, 2017 3:59:49 PM java.util.logging.LogManager$R > > >> ootLogger > > >> > > log > > >> > > > > > > SEVERE: Failed to resolve default logging config file: > > >> > > > > > > config/java.util.logging.properties > > >> > > > > > > [15:59:50] Performance suggestions for grid (fix if > > possible) > > >> > > > > > > [15:59:50] To disable, set -DIGNITE_PERFORMANCE_ > > >> > > > > > SUGGESTIONS_DISABLED=true > > >> > > > > > > [15:59:50] ^-- Enable G1 Garbage Collector (add > > >> '-XX:+UseG1GC' > > >> > to > > >> > > > JVM > > >> > > > > > options) > > >> > > > > > > [15:59:50] ^-- Specify JVM heap max size (add > > >> > > > > > > '-Xmx[g|G|m|M|k|K]' to JVM options) > > >> > > > > > > [15:59:50] ^-- Set max direct memory size if getting > > 'OOME: > > >> > > Direct > > >> > > > > > > buffer memory' (add '-XX:MaxDirectMemorySize=< > > >> > size>[g|G|m|M|k|K]' > > >> > > to > > >> > > > > > > JVM options) > > >> > > > > > > [15:59:50] ^-- Disable processing of calls to > System.gc() > > >> (add > > >> > > > > > > '-XX:+DisableExplicitGC' to JVM options) > > >> > > > > > > [15:59:50] Refer to this page for more performance > > >> suggestions: > > >> > > > > > > https://apacheignite.readme.io/docs/jvm-and-system-tuning > < > > >> > > > > > https://apacheignite.readme.io/docs/jvm-and-system-tuning> > > >> > > > > > > [15:59:50] > > >> > > > > > > [15:59:50] To start Console Management & Monitoring run > > >> > > > > > ignitevisorcmd.{sh|bat} > > >> > > > > > > [15:59:50] > > >> > > > > > > [15:59:50] Ignite node started OK (id=fa20d03b) > > >> > > > > > > [15:59:50] Topology snapshot [ver=1, servers=1, clients=0, > > >> > CPUs=4, > > >> > > > > > heap=3.6GB] > > >> > > > > > > class org.apache.ignite.internal.GridLoggerProxy > > >> > > > > > > [15:59:50] Ignite node stopped OK [uptime=00:00:00:085] > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > How can I make it work? > > >> > > > > > > > > >> > > > > > > -P > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > > > > > > > > > > -- > > > Rishi Yagnik > > > > > > -- Rishi Yagnik --001a1147c8207a59a105587c6c07--