From issues-return-7425-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Fri Jun 7 19:33:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5D121180763 for ; Fri, 7 Jun 2019 21:33:03 +0200 (CEST) Received: (qmail 65033 invoked by uid 500); 7 Jun 2019 19:33:02 -0000 Mailing-List: contact issues-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list issues@phoenix.apache.org Received: (qmail 65010 invoked by uid 99); 7 Jun 2019 19:33:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2019 19:33:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E335AE2D3E for ; Fri, 7 Jun 2019 19:33:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E9D5524643 for ; Fri, 7 Jun 2019 19:33:00 +0000 (UTC) Date: Fri, 7 Jun 2019 19:33:00 +0000 (UTC) From: "Karthik Palanisamy (JIRA)" To: issues@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-5321) Set Log4j Threshold to ALL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-5321?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 858927#comment-16858927 ]=20 Karthik Palanisamy commented on PHOENIX-5321: --------------------------------------------- [~rajeshbabu] can you please take a took? > Set Log4j Threshold to ALL > -------------------------- > > Key: PHOENIX-5321 > URL: https://issues.apache.org/jira/browse/PHOENIX-5321 > Project: Phoenix > Issue Type: Bug > Affects Versions: 5.0.0 > Reporter: Karthik Palanisamy > Assignee: Karthik Palanisamy > Priority: Minor > Attachments: PHOENIX-5321.master.v1.patch > > > The problem in enabling debug log with the export command (export PHOENIX= _OPTS=3D"-Dpsql.root.logger=3DDEBUG,console").=C2=A0Log4j.properties file h= as a hardcoded value=C2=A0for log4j.threshold which set to INFO as our defa= ult value. So all log events with lower level than=C2=A0threshold are ignor= ed by the appender (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < OFF= ). for INFO threshold, DEBUG and TRACE=C2=A0logs=C2=A0are ignored.=C2=A0 > Log4j.threshold is not required=C2=A0since we pass=C2=A0root logger (-Dps= ql.root.logger=3DINFO,DRFA) setting during Query server startup (queryserve= r.py).=C2=A0 > Log4j.threshold can be removed or set to ALL (default). -- This message was sent by Atlassian JIRA (v7.6.3#76005)