Raman Gupta created KAFKA-1801:
----------------------------------
Summary: Remove non-functional variable definition in
log4j.properties
Key: KAFKA-1801
URL: https://issues.apache.org/jira/browse/KAFKA-1801
Project: Kafka
Issue Type: Improvement
Components: log
Affects Versions: 0.8.2
Reporter: Raman Gupta
Assignee: Jay Kreps
Priority: Trivial
In log4j.properties, a property kafka.logs.dir is defined. However, modifying
this property has no effect because log4j will always use the system property
defined in kafka-run-class.sh before using the locally defined property in
log4j.properties. Therefore, its probably less confusing to simply remove this
property from here.
See
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PropertyConfigurator.html
for the property search order (system property first, locally defined property
second).
An alternative solution: remove the system property from kafka-run-class.sh and
keep the one here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)