All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.lagom.lagom-log4j2_2.12.1.4.0-RC1.source-code.log4j2-lagom-default.xml Maven / Gradle / Ivy

There is a newer version: 1.6.8-RC1
Show newest version
<!--
  ~ Copyright (C) 2016-2017 Lightbend Inc. <https://www.lightbend.com>
  -->
<!-- The default log4j2 configuration that Lagom uses if no other configuration is provided -->
<Configuration name="DefaultLagomConfig">
  <Appenders>
    <Console name="STDOUT">
      <PatternLayout>
        <Pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSS'Z'}{GMT+0} %highlight{%level} %logger [%mdc] - %msg%n</Pattern>
      </PatternLayout>
    </Console>
  </Appenders>

  <Loggers>
    <!-- Set logging for all Play library classes to INFO -->
    <Logger name="play" level="INFO"/>
    <!-- Set logging for all Akka library classes to INFO -->
    <Logger name="akka" level="INFO"/>
    <!-- Set logging for all Lagom library classes to INFO -->
    <Logger name="com.lightbend.lagom" level="INFO"/>

    <!-- Cassandra and the datastax driver are used by the Lagom event sourcing modules -->
    <Logger name="org.apache.cassandra" level="ERROR"/>
    <Logger name="com.datastax.driver" level="ERROR"/>
    <!-- Turn down Kafka noise -->
    <Logger name="org.apache.kafka" level="WARN"/>

    <AsyncRoot level="INFO">
      <AppenderRef ref="STDOUT"/>
    </AsyncRoot>
  </Loggers>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy