package pl.mkrystek.mkbot;

import static org.springframework.boot.Banner.Mode.OFF;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

public class Main {

    private static final Logger LOGGER = LoggerFactory.getLogger(Main.class);

    public static void main(String[] args) throws Exception {
        ConfigurableApplicationContext ctx = new SpringApplicationBuilder().bannerMode(OFF).web(false).logStartupInfo(false)
            .sources(BotApplicationConfiguration.class).headless(false).run(args);
        LOGGER.debug("Application started!");
        BotApplication application = ctx.getBean(BotApplication.class);

        try {
            application.init();
            application.startApplication();
        } catch (Exception e) {
            LOGGER.error("Error : ", e);
        } finally {
            LOGGER.debug("Shutting down application");
            if (application != null) application.shutdown();
        }
    }
}

package pl.mkrystek.mkbot;

import static org.springframework.boot.Banner.Mode.OFF;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

public class Main {

    private static final Logger LOGGER = LoggerFactory.getLogger(Main.class);

    public static void main(String[] args) throws Exception {
        ConfigurableApplicationContext ctx = new SpringApplicationBuilder().bannerMode(OFF).web(false).logStartupInfo(false)
            .sources(BotApplicationConfiguration.class).headless(false).run(args);
        BotApplication application = ctx.getBean(BotApplication.class);

        try {
            application.init();
            application.startApplication();
        } catch (Exception e) {
            LOGGER.error("Error : ", e);
        } finally {
            if (application != null) application.shutdown();
        }
    }
}

--- 
+++ 
@@ -14,6 +14,7 @@
     public static void main(String[] args) throws Exception {
         ConfigurableApplicationContext ctx = new SpringApplicationBuilder().bannerMode(OFF).web(false).logStartupInfo(false)
             .sources(BotApplicationConfiguration.class).headless(false).run(args);
+        LOGGER.debug("Application started!");
         BotApplication application = ctx.getBean(BotApplication.class);
 
         try {
@@ -22,6 +23,7 @@
         } catch (Exception e) {
             LOGGER.error("Error : ", e);
         } finally {
+            LOGGER.debug("Shutting down application");
             if (application != null) application.shutdown();
         }
     }
Add some more startup logging
