How to use my custom log4j.properties when running minicluster in idea

Posted by peibin wang on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/How-to-use-my-custom-log4j-properties-when-running-minicluster-in-idea-tp26244.html

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