Skip to content

Instantly share code, notes, and snippets.

@adamw
Created November 24, 2018 20:46
Show Gist options
  • Save adamw/a31bed8f1e9d6970c822cf3b56c004a0 to your computer and use it in GitHub Desktop.
Save adamw/a31bed8f1e9d6970c822cf3b56c004a0 to your computer and use it in GitHub Desktop.
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %highlight(%replace([%X{cid}] ){'\[\] ', ''})[%thread] %-5level %logger{5} - %msg%n</pattern>
</encoder>
<filter class="com.softwaremill.monix.SetCorrelationIdInMDCFilter" />
</appender>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment