6 date: "2016-06-23T10:49:03+00:00"
7 guid: http://juplo.de/?p=754
15 title: Show Spring-Boot Auto-Configuration-Report When Running Via "mvn spring-boot:run"
16 url: /show-spring-boot-auto-configuration-report-when-running-via-mvn-spring-boot-run/
19 There are a lot of explanations, how to turn on the Auto-Configuration-Report offered by Spring-Boot to debug the configuration of ones app.
20 For an good example take a look at this little [Spring boot troubleshooting auto-configuration](http://www.leveluplunch.com/java/tutorials/009-spring-boot-what-autoconfigurations-turned-on/ "This guide shows nearly all options, to turn on the report") guide.
21 But most often, when I want to see the Auto-Configuration-Report, I am running my app via `mvn:spring-boot:run`.
22 And, unfortunatly, none of the guids you can find by google tells you, how to turn on the Auto-Configuration-Report in this case.
23 Hence, I hope I can help out, with this little tip.
25 ## How To Turn On The Auto-Configuration-Report When Running `mvn spring-boot:run`
27 The report is shown, if the logging for `org.springframework.boot.autoconfigure.logging` is set to `DEBUG`.
28 The most simple way to do that, is to add the following line to your `src/main/resources/application.properties`:
31 logging.level.org.springframework.boot.autoconfigure.logging=DEBUG
35 I was not able, to enable the logging via a command-line-switch.
36 The seemingly obvious way to add the property to the command line with a `-D` like this:
39 mvn spring-boot:run -Dlogging.level.org.springframework.boot.autoconfigure.logging=DEBUG
44 If anyone could point out, how to do that in a comment to this post, I would be realy grateful!
46 ## Funded by the Europian Union
48 This article was published in the course of a
49 [resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
50 that is funded by the European Union and the federal state Northrhine-Wetphalia.
52 [](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")