Hi Peibin

I believe you could refer to the directory structure of 
flink/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/wordcount/WordCount.java,
 and the its log4j.properties file located at 
flink/flink-examples/flink-examples-streaming/src/main/resources/log4j.properties
 .

You could compare your directory structure and the file contents with those I 
mentioned above and I believe you could finally make it work.

Best
Yun Tang
________________________________
From: peibin wang <wangpeibin...@gmail.com>
Sent: Tuesday, February 19, 2019 12:04
To: user@flink.apache.org
Subject: How to use my custom log4j.properties when running minicluster in idea


Hi,

       I am running flink job in the Intellij IDEA  with mini cluster (not 
submit it to the flink cluster ) for  convenience .

Now I have put my custom log config file ( both log4j.properties and 
logback.xml)  in src/main/resources/. But it does not work. Is there any 
solutions?

Reply via email to