Skip to content

Commit

Permalink
Travis-CI ends up with DEBUG logs when default is set to INFO
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kaladay committed Nov 6, 2018
1 parent 048f584 commit 0d6d309
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>

<dependency>
Expand Down

0 comments on commit 0d6d309

Please sign in to comment.