Karthik Palanisamy created PHOENIX-5321:
-------------------------------------------
Summary: 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
The problem in enabling debug log with the export command (export
PHOENIX_OPTS="-Dpsql.root.logger=DEBUG,console"). Log4j.properties file has a
hardcoded value for log4j.threshold which set to INFO as our default value. So
all log events with lower level than threshold are ignored by the appender (ALL
< TRACE < DEBUG < INFO < WARN < ERROR < FATAL < OFF). for INFO threshold, DEBUG
and TRACE logs are ignored.
Log4j.threshold is not required since we pass root logger
(-Dpsql.root.logger=INFO,DRFA) setting during Query server startup
(queryserver.py).
Log4j.threshold can be removed or set to ALL (default).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)