Skip to content

Commit 506ee89

Browse files
committed
Document how to configure root logging level
Fixes gh-2872
1 parent 5d311d6 commit 506ee89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,10 +1138,12 @@ are not managed by spring Boot.
11381138
All the supported logging systems can have the logger levels set in the Spring
11391139
`Environment` (so for example in `application.properties`) using
11401140
'`+logging.level.*=LEVEL+`' where '`LEVEL`' is one of TRACE, DEBUG, INFO, WARN, ERROR,
1141-
FATAL, OFF. Example `application.properties`:
1141+
FATAL, OFF. The `root` logger can be configured using `logging.level.root`.
1142+
Example `application.properties`:
11421143

11431144
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
11441145
----
1146+
logging.level.root=WARN
11451147
logging.level.org.springframework.web=DEBUG
11461148
logging.level.org.hibernate=ERROR
11471149
----

0 commit comments

Comments
 (0)