Skip to content

Commit

Permalink
Towards #16, at least quiet the initial bootstrap
Browse files Browse the repository at this point in the history
Bootstrap is before logging is set up, but Spring somehow uses the XML
configuration anyhow.  Go figure.
  • Loading branch information
binkley committed Dec 31, 2016
1 parent cd23766 commit 7b978bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Why is this here? Because of Spring spits out bootstrap messages before
logging is set up. And fixing application.yml is too late. -->
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<logger name="ROOT" level="WARN"/>
</configuration>

0 comments on commit 7b978bb

Please sign in to comment.