Skip to content

Instantly share code, notes, and snippets.

@ryaminal
Created February 27, 2017 22:55
Show Gist options
  • Save ryaminal/458488d05ddf95395bca139fc566fbfd to your computer and use it in GitHub Desktop.
Save ryaminal/458488d05ddf95395bca139fc566fbfd to your computer and use it in GitHub Desktop.
overops-example-logback-config
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{ISO8601,UTC} [%thread] %-5level %logger{36} %X{akkaTimestamp} %X{akkaSource} - %msg%n</pattern>
</encoder>
</appender>
<logger name="akka" level="INFO"/>
<logger name="com.vivint.smarthvac.actor.device.DeviceSupervisor" level="WARN"/>
<logger name="akka.actor.CoordinatedShutdown" level="DEBUG"/>
<logger name="com.teambytes.logback.flume" level="WARN"/>
<logger name="org.apache.kafka" level="WARN"/>
<logger name="org.apache.zookeeper" level="WARN"/>
<logger name="com.datastax.driver" level="INFO"/>
<root level="${DEFAULT_LOG_LEVEL}">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment