From 9241c90660fd2b425ca32c51f2605a2f585850fa Mon Sep 17 00:00:00 2001 From: hemantvsn Date: Fri, 22 Jun 2018 12:24:19 +0530 Subject: [PATCH] Update SpringBootConsoleApplication.java --- .../springbootnonwebapp/SpringBootConsoleApplication.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spring-boot/src/main/java/com/baeldung/springbootnonwebapp/SpringBootConsoleApplication.java b/spring-boot/src/main/java/com/baeldung/springbootnonwebapp/SpringBootConsoleApplication.java index 6c3fbaff45..5b0fda992d 100644 --- a/spring-boot/src/main/java/com/baeldung/springbootnonwebapp/SpringBootConsoleApplication.java +++ b/spring-boot/src/main/java/com/baeldung/springbootnonwebapp/SpringBootConsoleApplication.java @@ -16,12 +16,12 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootConsoleApplication implements CommandLineRunner { - private static final Logger LOG = LoggerFactory.getLogger(SpringBootConsoleApplication.class); + private static Logger LOG = LoggerFactory.getLogger(SpringBootConsoleApplication.class); public static void main(String[] args) { LOG.info("STARTING THE APPLICATION"); SpringApplication.run(SpringBootConsoleApplication.class, args); - LOG.info("APPLICATION STARTED"); + LOG.info("APPLICATION FINISHED"); } /** @@ -30,8 +30,6 @@ public class SpringBootConsoleApplication implements CommandLineRunner { */ @Override public void run(String... args) throws Exception { - LOG.info("START : command line runner"); LOG.info("EXECUTING : command line runner"); - LOG.info("END : command line runner"); } }