Hi Ted
Thanks for quick response. Yes, I know it is used. But my question is if I 
migrate without changing the code will it break anything. We are using 
Confluent Kafka and we cannot modify kafka code. All I can do is change log4j 
1.2.7 jar to latest,  create log4j.xml  and add log4j bridge utility jar. 
Please let me know on this.
ThanksArunkumar Pichaimuthu, PMP 

    On Thursday, November 9, 2017, 4:23:43 PM CST, Ted Yu <yuzhih...@gmail.com> 
wrote:  
 
 PropertyConfigurator is used here:

https://github.com/apache/kafka/blob/trunk/tools/src/main/java/org/apache/kafka/tools/VerifiableLog4jAppender.java#L233

On Thu, Nov 9, 2017 at 2:17 PM, Arunkumar <pm_arunku...@yahoo.com.invalid>
wrote:

> Hi All
> We have a requirement to migrate log4J 1.x to log4j 2 for our kafka
> brokers using log4j bridge utility. According to Apache Docs the code must
> not call DOMConfigurator or PropertyConfigurator class, But when I dig into
> the code I see on Tools package and other packages they have used
> PropertyConfigurator. I just wanted to double check if any one has any
> insight on this. If above statement is true, it is not feasible to migrate,
> any one please confirm.
> Thanks in advanceArunkumar Pichaimuthu, PMP
  

Reply via email to