<configuration>

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

    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
        <encoder class="co.elastic.logging.logback.EcsEncoder">
            <serviceName>vinyldns-portal</serviceName>
            <serviceNodeName>vinyldns-portal</serviceNodeName>
        </encoder>
    </appender>
    <!--
      The logger name is typically the Java/Scala package name.
      This configures the log level to log at for a package and its children packages.
    -->
    <logger name="play" level="OFF" />
    <logger name="application" level="OFF" />

    <root level="OFF">
        <appender-ref ref="CONSOLE" />
    </root>

</configuration>
