<!--
  ~ Copyright (C) 2009-2016 Lightbend Inc. <https://www.lightbend.com>
  -->
<!-- The default logback configuration that Play uses if no other configuration is provided -->
<configuration>

    <conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%coloredLevel %logger{15} - %message%n%xException{10}</pattern>
        </encoder>
    </appender>

    <logger name="play" level="INFO" />
    <logger name="application" level="DEBUG" />

    <logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF" />

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

    <!-- Sentry -->
    <appender name="Sentry" class="com.getsentry.raven.logback.SentryAppender">
        <dsn>${SENTRY_DSN}</dsn>
        <tags>tag1:value1,tag2:value2</tags>
    </appender>
    <root level="warn">
        <appender-ref ref="Sentry"/>
    </root>

    <!-- Ore loggers -->
    <logger name="Bootstrap" level="INFO" />
    <logger name="Discourse" level="INFO" />
    <logger name="Database"  level="INFO" />
    <logger name="DataHelper" level="INFO" />

</configuration>

<!--
  ~ Copyright (C) 2009-2016 Lightbend Inc. <https://www.lightbend.com>
  -->
<!-- The default logback configuration that Play uses if no other configuration is provided -->
<configuration>

    <conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>[%d{HH:mm:ss.SSS}] %coloredLevel %logger{15} - %message%n%xException{10}</pattern>
        </encoder>
    </appender>

    <logger name="play" level="INFO" />
    <logger name="application" level="DEBUG" />

    <logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF" />

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

    <!-- Sentry -->
    <appender name="Sentry" class="com.getsentry.raven.logback.SentryAppender">
        <dsn>${SENTRY_DSN}</dsn>
        <tags>tag1:value1,tag2:value2</tags>
    </appender>
    <root level="warn">
        <appender-ref ref="Sentry"/>
    </root>

    <!-- Ore loggers -->
    <logger name="Bootstrap" level="INFO" />
    <logger name="Discourse" level="INFO" />
    <logger name="Database"  level="INFO" />
    <logger name="DataHelper" level="INFO" />

</configuration>

Include timestamp with logger messages
Include timestamp with logger messages

Signed-off-by: Walker Crouse <a52c6ce3cf7a08dcbb27377aa79f9b994b446d4c@hotmail.com>
