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();
        }
    }
}

@@ -639,16 +639,62 @@
 (args);%0A
+        LOGGER.debug(%22Application started!%22);%0A
         
@@ -937,24 +937,79 @@
 %7D finally %7B%0A
+            LOGGER.debug(%22Shutting down application%22);%0A
             

Add some more startup logging