flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yun Tang <myas...@live.com>
Subject Re: How to use my custom log4j.properties when running minicluster in idea
Date Wed, 20 Feb 2019 16:21:04 GMT
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 <wangpeibin713@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´╝č

Mime
View raw message