diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc index ef9732189c0..8b395211381 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc @@ -599,10 +599,22 @@ keep the original String value to pass it to the Liquibase API. ===== Logger Name The **logger-name** provider auto-completes valid logger names and <>. Typically, -package and class names available in the current project can be auto-completed. If a -custom logger group is identified in the configuration, auto-completion for it should -be provided. Specific frameworks may have extra magic logger names that can be supported -as well. +package and class names available in the current project can be auto-completed. If groups +are enabled (default) and if a custom logger group is identified in the configuration, +auto-completion for it should be provided. Specific frameworks may have extra magic logger +names that can be supported as well. + +This provider supports the following parameters: + +[cols="1,1,2,4"] +|=== +|Parameter |Type |Default value |Description + +|`group` +|`boolean` +|`true` +|Specify whether known groups should be considered. +|=== Since a logger name can be any arbitrary name, this provider should allow any value but could highlight valid package and class names that are not available in the diff --git a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 8bd45e1b418..a251338b9ba 100644 --- a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -338,6 +338,18 @@ } ], "hints": [ + { + "name": "logging.group.values", + "providers": [ + { + "name": "logger-name", + "parameters": { + "group": false + } + + } + ] + }, { "name": "logging.level.keys", "values": [