Ralph Weires created KAFKA-4946:
-----------------------------------

             Summary: Evaluation of kafka_mx4jenable is inverted
                 Key: KAFKA-4946
                 URL: https://issues.apache.org/jira/browse/KAFKA-4946
             Project: Kafka
          Issue Type: Bug
          Components: core, metrics
    Affects Versions: 0.10.2.0
            Reporter: Ralph Weires
            Priority: Minor
         Attachments: mx4j-enable.patch

Mx4j stopped working for me after upgrade from 0.8.2 -> 0.10.2.0

I had the "-Dkafka_mx4jenable=true" flag set in a custom start script, which 
however now actually prevents MX4J from being loaded in 0.10.2.0

The flag is only taken into account since the patch from KAFKA-2002 it seems to 
me - we should however skip trying to load MX4J if the flag is set to false, 
rather than if it's set to true (as it's currently done).

Trivial patch attached, check should be negated.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to