File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -464,20 +464,24 @@ Logback::
464
464
<charset>${CONSOLE_LOG_CHARSET}</charset>
465
465
</encoder>
466
466
----
467
+ +
468
+ You can also refer to the default configurations included in Spring Boot:
469
+ +
470
+ * {code-spring-boot}/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-console-appender.xml[Logback Structured Console Appender]
471
+ * {code-spring-boot}/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-file-appender.xml[Logback Structured File Appender]
467
472
Log4j2::
468
473
+
469
474
[source,xml]
470
475
----
471
476
<!-- replace your PatternLayout with StructuredLogLayout -->
472
477
<StructuredLogLayout format="${sys:CONSOLE_LOG_STRUCTURED_FORMAT}" charset="${sys:CONSOLE_LOG_CHARSET}"/>
473
478
----
474
- ======
475
- You can refer to default configurations in `spring-boot.jar` for fine-grained control:
476
-
477
- * {code-spring-boot}/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-console-appender.xml[Logback Structured Console Appender]
478
- * {code-spring-boot}/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-file-appender.xml[Logback Structured File Appender]
479
+ +
480
+ You can also refer to the default configurations included in Spring Boot:
481
+ +
479
482
* {code-spring-boot}/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2.xml[Log4j2 Console Appender]
480
483
* {code-spring-boot}/spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/log4j2/log4j2-file.xml[Log4j2 Console and File Appender]
484
+ ======
481
485
482
486
483
487
[[features.logging.structured.ecs]]
You can’t perform that action at this time.
0 commit comments