Hi Sendoh,

you have to edit your log4j.properties file to set log4j.rootLogger=OFF in
order to turn off the logger. Depending on how you run Flink and where you
wanna turn off the logging, you either have to edit the log4j.properties
file in the FLINK_HOME/conf directory or the in your project which is
contained in the resources directory (this should be auto generated if
you’ve created your project with the quickstart archetypes).

Cheers,
Till
​

On Tue, Apr 19, 2016 at 11:21 AM, Sendoh <unicorn.bana...@gmail.com> wrote:

> Hi,
>
> Can I ask how to turn off Flink logging to avoid seeing INFO? I have tried
> StreamExecutionEnvironment env =
> StreamExecutionEnvironment.getExecutionEnvironment();
> env.getConfig().disableSysoutLogging();
> ....
> env.execute()
>
> and
>
> Configuration env_config = new Configuration();
> env_config.setBoolean("printProgressDuringExecution", false);
> StreamExecutionEnvironment env =
> StreamExecutionEnvironment.createLocalEnvironment(4, env_config);
> ....
> env.execute();
>
> Do you have any other suggestions?
>
> Best,
>
> Sendoh
>
>
>
> --
> View this message in context:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Turn-off-logging-in-Flink-tp6196.html
> Sent from the Apache Flink User Mailing List archive. mailing list archive
> at Nabble.com.
>

Reply via email to