Skip to content

Commit 0d6d309

Browse files
committed
Travis-CI ends up with DEBUG logs when default is set to INFO
The logback logger ends up getting included by spring-boot-starter-logging during org.springframework.boot. Exclude spring-boot-starter-logging and manually include spring-boot-starter-log4j2.
1 parent 048f584 commit 0d6d309

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@
6565
<dependency>
6666
<groupId>org.springframework.boot</groupId>
6767
<artifactId>spring-boot-starter-actuator</artifactId>
68+
<exclusions>
69+
<exclusion>
70+
<groupId>org.springframework.boot</groupId>
71+
<artifactId>spring-boot-starter-logging</artifactId>
72+
</exclusion>
73+
</exclusions>
74+
</dependency>
75+
76+
<dependency>
77+
<groupId>org.springframework.boot</groupId>
78+
<artifactId>spring-boot-starter-log4j2</artifactId>
6879
</dependency>
6980

7081
<dependency>

0 commit comments

Comments
 (0)