<?xml version="1.0"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or 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.
-->
<!--
 According to logback documentation, a file on the classpath named logback.xml will be the last
 search target before falling back to a default.  As such, we include logback.xml on the classpath
 to provide a reasonable default, but allow users to override in any format they wish.
 http://logback.qos.ch/manual/configuration.html
-->
<configuration debug="true">
  <appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
    <target>System.err</target>
    <encoder>
      <!-- Before changing this, consult http://logback.qos.ch/manual/layouts.html and make sure
      the parameter is not expensive. Once changed, run benchmarks to ensure that throughput is
      the same !-->
      <pattern>
        %.-1level%date{MMdd HH:mm:ss.SSS} [%thread, %logger{0}] %message %xThrowable%n
      </pattern>
    </encoder>
  </appender>

  <logger name="h2database" level="warn">
  </logger>

  <root level="info">
    <appender-ref ref="STDERR" />
  </root>
</configuration>
