Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  ~ Copyright 2014 Groupon, Inc
  ~ Copyright 2014 The Billing Project, LLC
  ~ The Billing Project 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:
  ~ 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.

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <!-- encoders are assigned the type
             ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
            <!-- Make sure to install the Grep Console plugin in your IDE and enable ANSI coloring -->
            <pattern>%d{HH:mm:ss.SSS} [%-7thread] %highlight(%-5level) %cyan(%-30logger{30}) - %msg %n</pattern>

    <!-- Silence verbose loggers in DEBUG mode -->
    <logger name="com.dmurph" level="OFF"/>
    <logger name="org.killbill.billing.notificationq" level="INFO"/>
    <logger name="org.killbill.billing.queue" level="INFO"/>
    <logger name="org.killbill.billing.server.updatechecker" level="INFO"/>
    <logger name="org.eclipse" level="INFO"/>

    <!-- Turn off jdbc logging by default -->
    <logger name="jdbc" level="OFF"/>

    <root level="INFO">
        <appender-ref ref="STDOUT"/>
New to GrepCode? Check out our FAQ X