Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
5a2a2e1e
Commit
5a2a2e1e
authored
Oct 10, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete documentation of logger-name with out-of-box logging groups
Closes gh-14456
parent
b18751eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
appendix-configuration-metadata.adoc
...cs/src/main/asciidoc/appendix-configuration-metadata.adoc
+18
-6
No files found.
spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc
View file @
5a2a2e1e
...
@@ -597,9 +597,12 @@ keep the original String value to pass it to the Liquibase API.
...
@@ -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.
...
@@ -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.
...
@@ -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"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment