Document how to configure root logging level

Fixes gh-2872
pull/4801/head
Phillip Webb 9 years ago
parent 5d311d6203
commit 506ee897f3

@ -1138,10 +1138,12 @@ are not managed by spring Boot.
All the supported logging systems can have the logger levels set in the Spring
`Environment` (so for example in `application.properties`) using
'`+logging.level.*=LEVEL+`' where '`LEVEL`' is one of TRACE, DEBUG, INFO, WARN, ERROR,
FATAL, OFF. Example `application.properties`:
FATAL, OFF. The `root` logger can be configured using `logging.level.root`.
Example `application.properties`:
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
----
logging.level.root=WARN
logging.level.org.springframework.web=DEBUG
logging.level.org.hibernate=ERROR
----

Loading…
Cancel
Save