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 163A920049E for ; Thu, 10 Aug 2017 20:01:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1493916BC95; Thu, 10 Aug 2017 18:01:23 +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 5B58B16BC8F for ; Thu, 10 Aug 2017 20:01:22 +0200 (CEST) Received: (qmail 92227 invoked by uid 500); 10 Aug 2017 18:01:21 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 92217 invoked by uid 99); 10 Aug 2017 18:01:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2017 18:01:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EF99BC023E for ; Thu, 10 Aug 2017 18:01:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LBKJKWJ19wbt for ; Thu, 10 Aug 2017 18:01:18 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E69415F6C1 for ; Thu, 10 Aug 2017 18:01:17 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mwork.nabble.com (Postfix) with ESMTP id 67BA05AE63D5C for ; Thu, 10 Aug 2017 11:01:16 -0700 (MST) Date: Thu, 10 Aug 2017 11:01:16 -0700 (MST) From: userx To: user@ignite.apache.org Message-ID: <1502388076305-16106.post@n6.nabble.com> Subject: Setting custom Log location - log4j MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 10 Aug 2017 18:01:23 -0000 Hi all, I intend to use log4j for Apache Ignite logging. The steps I followed are 1) add maven dependency of org.apache.ignite ignite-log4j 2.0.0 2) set the following in IgniteConfiguration file 3) When I start the server, it generates log at $IGNITE_HOME/work location. I put in a debug point to see if Log4JLogger is getting instantiated and it does. 4) Then I set an environment variable in eclipse say LOG_HOME and replaced IGNITE_HOME with the same. When I restarted the server it is still writing at IGNITE_HOME. How can I change the location of my Ignite logs to a custom location I have set up in eclipse environment variables ? I intend to use the same strategy and let WAL happen at a custom location as well. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Setting-custom-Log-location-log4j-tp16106.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.