Merge branch '1.5.x' into 2.0.x

This commit is contained in:
Andy Wilkinson 2018-06-21 12:18:35 +01:00
commit 48c5e70ac8
1 changed files with 16 additions and 0 deletions

View File

@ -1572,6 +1572,22 @@ jiggling with excludes. The following example shows how to set up the starters i
</dependency>
----
And the following example shows one way to set up the starters in Gradle:
[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
----
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-log4j2'
}
configurations {
all {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}
----
NOTE: The Log4j starters gather together the dependencies for common logging
requirements (such as having Tomcat use `java.util.logging` but configuring the
output using Log4j 2). See the