Skip to content

Instantly share code, notes, and snippets.

@vishcious
Created May 29, 2018 21:33
Show Gist options
  • Save vishcious/277ade593b706bd74f7c474ec07411dd to your computer and use it in GitHub Desktop.
Save vishcious/277ade593b706bd74f7c474ec07411dd to your computer and use it in GitHub Desktop.
apache nifi minimal config
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="30 seconds">
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
<resetJUL>true</resetJUL>
</contextListener>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date %level [%thread] %logger{40} %msg%n</pattern>
</encoder>
<target>System.out</target>
</appender>
<appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date %level [%thread] %logger{40} %msg%n</pattern>
</encoder>
<target>System.err</target>
</appender>
<!-- valid logging levels: TRACE, DEBUG, INFO, WARN, ERROR -->
<root level="ERROR">
<appender-ref ref="STDERR"/>
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment