Hi Ana, you can simply modify the `log4j.properties` file in the `conf` directory. It should be automatically included in the Yarn application.
Concerning your logging problem, it might be that you have set the logging level too high. Could you share the code with us? Cheers, Till On Thu, Dec 17, 2015 at 1:56 PM, Ana M. Martinez <a...@cs.aau.dk> wrote: > Hi flink community, > > I am trying to show log messages using log4j. > It works fine overall except for the messages I want to show in an inner > class that implements > org.apache.flink.api.common.aggregators.ConvergenceCriterion. > I am very new to this, but it seems that I’m having problems to show the > messages included in the isConverged function, as it runs in the task > managers? > E.g. the log messages in the outer class (before map-reduce operations) > are properly shown. > > I am also interested in providing my own log4j.properties file. I am using > the ./bin/flink run -m yarn-cluster on Amazon clusters. > > Thanks, > Ana