Download source code spring-boot-debug.zip

The spring boot demo project is taken from spring boot guide. We can build the project with either gradle or maven.
gradle build
mvn package
In addition to the spring boot project in its official tutorial, I configured debug info because sometimes, we are confused about bean loading status, such as what beans are loaded and in what sequence. We can pass debug level info in command line such as

java -jar build/libs/gs-spring-boot-0.1.0.jar --debug
or having a application.properties file with following content

debug=true  # When the debug mode is enabled, a selection of core loggers (embedded container, Hibernate and Spring) are configured to output more information. Enabling the debug mode does not configure your application log all messages with DEBUG level.
logging.level.root=DEBUG  # more comprehensive debug level

Reference @ Spring boot logging.

Bean loading report and log are partly extracted as follows

=========================
AUTO-CONFIGURATION REPORT
=========================

Positive matches:
-----------------

AuditAutoConfiguration.AuditEventRepositoryConfiguration matched
- @ConditionalOnMissingBean (types: org.springframework.boot.actuate.audit.AuditEventRepository; SearchStrategy: all) found no beans (OnBeanCondition)

DispatcherServletAutoConfiguration matched
- @ConditionalOnClass classes found: org.springframework.web.servlet.DispatcherServlet (OnClassCondition)
- found web application StandardServletEnvironment (OnWebApplicationCondition)

DispatcherServletAutoConfiguration.DispatcherServletConfiguration matched
- @ConditionalOnClass classes found: javax.servlet.ServletRegistration (OnClassCondition)
- no ServletRegistrationBean found (DispatcherServletAutoConfiguration.DefaultDispatcherServletCondition)
2016-02-18 20:43:52.124  INFO 9431 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2016-02-18 20:43:52.127 DEBUG 9431 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'requestMappingEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=requestMappingEndpoint]
2016-02-18 20:43:52.189 DEBUG 9431 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'environmentEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=environmentEndpoint]
2016-02-18 20:43:52.201 DEBUG 9431 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'healthEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=healthEndpoint]