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 489C8200BB3 for ; Wed, 2 Nov 2016 14:05:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 47457160AFB; Wed, 2 Nov 2016 13:05:05 +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 B464C160AEA for ; Wed, 2 Nov 2016 14:05:04 +0100 (CET) Received: (qmail 45368 invoked by uid 500); 2 Nov 2016 13:04:58 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 45350 invoked by uid 99); 2 Nov 2016 13:04:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 13:04:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B32DE2C0005 for ; Wed, 2 Nov 2016 13:04:58 +0000 (UTC) Date: Wed, 2 Nov 2016 13:04:58 +0000 (UTC) From: "Arne Bachmann (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-2626) log4j.properties don't get respected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Nov 2016 13:05:05 -0000 Arne Bachmann created ZOOKEEPER-2626: ---------------------------------------- Summary: log4j.properties don't get respected Key: ZOOKEEPER-2626 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2626 Project: ZooKeeper Issue Type: Bug Components: scripts Affects Versions: 3.5.2 Environment: Linux vagrant-ubuntu-trusty-32 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:49:53 UTC 2016 i686 i686 i686 GNU/Linux Reporter: Arne Bachmann I put the log4j.properties into the conf folder, plus a symlink to the base zookeeper folder, as described in the documentation. Neither of them seem to be picked up, as my rolling logger is not recognized (no logs created), and also bin/zkServer.sh print-cmd shows wrong logger configuration. Is that a problem of the start script or did I put the properties file into the wrong place? Note however, that also my additional java command-line options (from JAVA_TOOL_OPTIONS) don't get picked up by the start script, as can be seen by ps aux | grep java (e.g. -Xmx1000m instead of -Xmx500 as I defined it). The script's refer to a lot of environment variables that aren't explained in the documentation and nowhere defined; I can't get it to run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)