Re: how to specify the log level?

Posted by Stephan Ewen on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/how-to-specify-the-log-level-tp329p330.html

Hi!

If you use the quickstarts, you find a log4j.properties file in src/main/resources. If you make this file empty, it will suppress the log output.

In general, a log4j.properties file in the classpath if the way to configure logging.

Stephan


On Thu, Nov 6, 2014 at 5:31 PM, Attila BernĂ¡th <[hidden email]> wrote:
Dear Developers!

I clone the incubator-flink from github and import it as a maven
project in my eclipse.
I then run some example, like
org.apache.flink.spargel.java.examples.SpargelConnectedComponents
and I get a lot of log on the console. How to change that?
I tried changing some log4j.properties and logback.xml files,
according to the documentation, but I did not find the right one.
Thanks in advance.

Attila