Skip to content

Instantly share code, notes, and snippets.

@vishcious
Created June 1, 2018 21:21
Show Gist options
  • Save vishcious/3087d9647065cb4936f62806db131f64 to your computer and use it in GitHub Desktop.
Save vishcious/3087d9647065cb4936f62806db131f64 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<appender name="NOP" class="ch.qos.logback.core.helpers.NOPAppender" />
<!-- valid logging levels: TRACE, DEBUG, INFO, WARN, ERROR -->
<logger name="org.apache.calcite.runtime.CalciteException" level="OFF" />
<logger name="org.apache.curator.framework.recipes.leader.LeaderSelector" level="OFF" />
<logger name="org.apache.curator.ConnectionState" level="OFF" />
<logger name="org.apache.nifi.StdOut" level="OFF" additivity="false">
<appender-ref ref="NOP" />
</logger>
<logger name="org.apache.nifi.StdErr" level="OFF" additivity="false">
<appender-ref ref="NOP" />
</logger>
<root level="INFO">
<appender-ref ref="NOP"/>
</root>
<root level="ERROR">
<appender-ref ref="NOP"/>
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment