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:
parent
f31b58b61a
commit
d9f1416252
16 changed files with 22 additions and 22 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue