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 13:29:18 GMT
I have a solution.

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

mkdir flink-addons/flink-spargel/src/main/resources
cp ./flink-examples/flink-java-examples/src/main/resources/log4j.properties

(This file contains 1 line:

This prevents any log outputs.

However, if I also set the JVM argument (in eclipse
Run/Configurations/Arguments/VM arguments):
then I get the warning:
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
for more info.


View raw message