change %mdc examples, and tests

* if MDC is empty it's confusing with {} because it can be misunderstood
  to be a missing log template parameter
This commit is contained in:
Patrik Nordwall 2020-03-27 17:59:56 +01:00
parent f31b58b61a
commit d9f1416252
16 changed files with 22 additions and 22 deletions

View file

@ -5,7 +5,7 @@
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date{ISO8601} %-5level %logger %marker - %msg {%mdc}%n</pattern>
<pattern>%date{ISO8601} %-5level %logger %marker - %msg MDC: {%mdc}%n</pattern>
</encoder>
</appender>