Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ff6e5f4

Browse files
committedNov 27, 2024·
Warn that "Custom Log Configuration" take precedence over "Structured Logging"
1 parent de26832 commit ff6e5f4

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features

1 file changed

+1
-1
lines changed
 

‎spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/logging.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ Spring Boot supports structured logging and has support for the following JSON f
448448
* xref:#features.logging.structured.gelf[Graylog Extended Log Format (GELF)]
449449
* xref:#features.logging.structured.logstash[Logstash]
450450

451-
To enable structured logging, set the property configprop:logging.structured.format.console[] (for console output) or configprop:logging.structured.format.file[] (for file output) to the id of the format you want to use.
451+
To enable structured logging, ensure that you aren't using xref:#features.logging.custom-log-configuration[Custom Log Configuration] and set the property configprop:logging.structured.format.console[] (for console output) or configprop:logging.structured.format.file[] (for file output) to the id of the format you want to use.
452452

453453

454454

0 commit comments

Comments
 (0)
Please sign in to comment.