<!--
  ~ Copyright (C) Lightbend Inc. <https://www.lightbend.com>
  -->
<configuration>

    <!-- Suppress logback complaining about multiple logback-test.xml files -->
    <statusListener class="ch.qos.logback.core.status.NopStatusListener" />

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <!-- We use short exception stack trace logging to limit output for travis. -->
            <!-- Change to full if you need to do further debugging, but never commit that. -->
            <pattern>%level %logger{15} - %message%n%ex{short}</pattern>
        </encoder>
    </appender>

    <!-- avoid polluting the test logs -->
    <logger name="play.shaded" level="WARN" />
    <logger name="play.api.test" level="WARN" />
    <logger name="org.hibernate.validator" level="WARN" />
    <logger name="akka" level="WARN" />
    <logger name="org.jboss.logging" level="WARN" />

    <root level="DEBUG">
        <appender-ref ref="STDOUT" />
    </root>

</configuration>
