Passage de conf logback de layout en encoder (https://logback.qos.ch/codes.html#…
…layoutInsteadOfEncoder).
Showing
1 changed file
with
6 additions
and
4 deletions
... | @@ -2,11 +2,13 @@ | ... | @@ -2,11 +2,13 @@ |
2 | <configuration> | 2 | <configuration> |
3 | 3 | ||
4 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | 4 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
5 | - <layout class="ch.qos.logback.classic.PatternLayout"> | 5 | + <!-- encoders are assigned the type |
6 | - <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern> | 6 | + ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> |
7 | - </layout> | 7 | + <encoder> |
8 | + <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | ||
9 | + </encoder> | ||
8 | </appender> | 10 | </appender> |
9 | - | 11 | + |
10 | <logger name="org.legrog" level="DEBUG"/> | 12 | <logger name="org.legrog" level="DEBUG"/> |
11 | <logger name="org.legrog.web.publisher" level="TRACE"/> | 13 | <logger name="org.legrog.web.publisher" level="TRACE"/> |
12 | 14 | ... | ... |
-
Please register or login to post a comment