Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
1.2.3
-
None
-
Linux
Description
I have following logback.xml:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml"/> <property scope="context" name="pattern" value="%d{yyyy-MM-dd'T'HH:mm:ss.SSS'Z', UTC} ${LOG_LEVEL_PATTERN:-%5p} %logger [%t] \(%X{trace}\) %X{loggingMessageExtender}: %m%n" /> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <Pattern>${pattern}</Pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="CONSOLE"/> </root> </configuration>
Then all log statements are written in the single line even given than the pattern have %n in the end