Re: Logging in Flink 0.9.0-milestone-1

Posted by rmetzger0 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Logging-in-Flink-0-9-0-milestone-1-tp1016p1018.html

Hi Stefan,

we made a stupid mistake in the 0.9.0-milestone-1 release by including our log4j.properties into the flink-runtime jar. its also in the fat jar in flink-dist.

Maybe you can pass the name of your log4j file to your application with -Dlog4j.configuration=log4j.xml?

The issue is already fixed in the current master but that doesn't help 0.9.0-milestone-1 users :(

Best,
Robert

On Tue, Apr 14, 2015 at 4:49 PM, Stefan Bunk <[hidden email]> wrote:
Hi Flinkers,

I just switched to 0.9.0-milestone-1, and now I get Flink's logging output again in my console (local execution).
I have a log4j.xml under src/main/resources, which says not to log any Flink job progress updates, and which worked fine so far:

[...]
<logger name="org.apache.flink">
                <level value="ERROR" />
                <appender-ref ref="Console" />
</logger>
[...]
See the full file at [1].

However, this file seems to be ignored now. What do I need to change?

Cheers
Stefan