flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Attila BernĂ¡th <bernath.at...@gmail.com>
Subject Re: how to specify the log level?
Date Fri, 07 Nov 2014 10:48:33 GMT
Dear Stephan,

Assume I stand in the root directory of the incubator-flink repo.

I did not find a log4j.properties file in that directory (I am not
completely sure what you meant, I looked in
Putting an empty file there did not change anything.

The log4j.properties files I have here are:
sudocker@314a9613c340:~/git/incubator-flink$ find -name log4j.properties

All of these contain something like
log4j.rootLogger=WARN, file


2014-11-06 18:02 GMT+01:00 Stephan Ewen <sewen@apache.org>:
> 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 <bernath.athos@gmail.com>
> 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

View raw message