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 7AE23200C45 for ; Tue, 14 Mar 2017 01:57:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 795D9160B85; Tue, 14 Mar 2017 00:57:21 +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 C25B9160B5D for ; Tue, 14 Mar 2017 01:57:20 +0100 (CET) Received: (qmail 89140 invoked by uid 500); 14 Mar 2017 00:57:20 -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 89130 invoked by uid 99); 14 Mar 2017 00:57:18 -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, 14 Mar 2017 00:57:18 +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 75C061AFA50 for ; Tue, 14 Mar 2017 00:57:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.174 X-Spam-Level: ** X-Spam-Status: No, score=2.174 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, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id DE9pCNaHTmHa for ; Tue, 14 Mar 2017 00:57:17 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 980195F397 for ; Tue, 14 Mar 2017 00:57:17 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 2A5773EBB072 for ; Mon, 13 Mar 2017 17:33:19 -0700 (PDT) Date: Mon, 13 Mar 2017 17:57:16 -0700 (MST) From: "javastuff.sam@gmail.com" To: user@ignite.apache.org Message-ID: <1489453036837-11158.post@n6.nabble.com> In-Reply-To: <1484953128003-10164.post@n6.nabble.com> References: <1484857266893-10148.post@n6.nabble.com> <1484937343559-10159.post@n6.nabble.com> <1484939544179-10160.post@n6.nabble.com> <1484953128003-10164.post@n6.nabble.com> Subject: Re: REST service command LOG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 14 Mar 2017 00:57:21 -0000 Hi Val, Apologies for coming back to this thread late. I agree for security reasons it should internally figure out which log file to read. However it does not work, here is the scenario - Ignite-log4j module is enabled simply including this jar file, now it uses my application log4j configuration to log successfully. But ignite.log() is never initialized, it is null, hence REST API not able to figure out where is the log file. I have to enforce either of the workaround - 1. Log file location need to start with IGNITE_HOME and use Path parameter in LOG command. 2. Enforce logging into IGNITE_HOME/work/log/ignite.log location. I think when Ignite-log4j module is enabled it should make Ignite aware of logging configuration. Thanks, -Sam -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/REST-service-command-LOG-tp10148p11158.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.