mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
[bs-229] Switch to logback in starter POM
The spring-starter-logging is included everywhere transitively now so logback is the default. The actuator sample explicitly excludes the logging starter so it can have profiles for different loggers (just as a demo). [Fixes #53278727]
This commit is contained in:
parent
e2ae839594
commit
4de64c7f6b
@ -17,6 +17,12 @@
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-starter-actuator</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.zero</groupId>
|
||||
<artifactId>spring-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
@ -83,7 +89,7 @@
|
||||
<profile>
|
||||
<id>juli</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@ -111,7 +117,7 @@
|
||||
<profile>
|
||||
<id>logback</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
Loading…
Reference in New Issue
Block a user