Skip to content

Instantly share code, notes, and snippets.

@knub

knub/log4j.xml Secret

Last active Aug 29, 2015
Embed
What would you like to do?
Logging configuration, which worked for Flink 0.8.1 but doesn't for Flink 0.9.0-milestone-1.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="Console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d{dd.MM.Y - HH:mm} - %m%n" />
</layout>
</appender>
<logger name="org.apache.flink">
<level value="ERROR" />
<appender-ref ref="Console" />
</logger>
<root>
<level value="INFO" />
<appender-ref ref="Console" />
</root>
</log4j:configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment