Complete documentation of logger-name with out-of-box logging groups

Closes gh-14456
pull/10771/merge
Stephane Nicoll 6 years ago
parent b18751ebd9
commit 5a2a2e1ebe

@ -597,9 +597,12 @@ keep the original String value to pass it to the Liquibase API.
===== Logger Name ===== Logger Name
The **logger-name** provider auto-completes valid logger names. Typically, package and The **logger-name** provider auto-completes valid logger names and
class names available in the current project can be auto-completed. Specific frameworks <<spring-boot-features.adoc#boot-features-custom-log-groups,logger groups>>. Typically,
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 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.
Since a logger name can be any arbitrary name, this provider should allow any 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 value but could highlight valid package and class names that are not available in the
@ -607,7 +610,8 @@ project's classpath.
The following metadata snippet corresponds to the standard `logging.level` property. Keys The following metadata snippet corresponds to the standard `logging.level` property. Keys
are _logger names_, and values correspond to the standard log levels or any custom are _logger names_, and values correspond to the standard log levels or any custom
level. level. As Spring Boot defines a few logger groups out-of-the-box, dedicated value hints
have been added for those.
[source,json,indent=0] [source,json,indent=0]
---- ----
@ -616,8 +620,16 @@ level.
"name": "logging.level.keys", "name": "logging.level.keys",
"values": [ "values": [
{ {
"value": "root", "value": "root",
"description": "Root logger used to assign the default logging level." "description": "Root logger used to assign the default logging level."
},
{
"value": "sql",
"description": "SQL logging groups including Hibernate SQL logger."
},
{
"value": "web",
"description": "Web logging groups including codecs."
} }
], ],
"providers": [ "providers": [

Loading…
Cancel
Save