From 506ee897f35e8b2525f1afb1aeb852256035e961 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 17 Dec 2015 10:55:46 +0000 Subject: [PATCH] Document how to configure root logging level Fixes gh-2872 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 9a9dc806e1..263c114dc1 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -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 ----