Skip to content

Commit 9241c90

Browse files
authored
Update SpringBootConsoleApplication.java
1 parent 400f86a commit 9241c90

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spring-boot/src/main/java/com/baeldung/springbootnonwebapp/SpringBootConsoleApplication.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
@SpringBootApplication
1717
public class SpringBootConsoleApplication implements CommandLineRunner {
1818

19-
private static final Logger LOG = LoggerFactory.getLogger(SpringBootConsoleApplication.class);
19+
private static Logger LOG = LoggerFactory.getLogger(SpringBootConsoleApplication.class);
2020

2121
public static void main(String[] args) {
2222
LOG.info("STARTING THE APPLICATION");
2323
SpringApplication.run(SpringBootConsoleApplication.class, args);
24-
LOG.info("APPLICATION STARTED");
24+
LOG.info("APPLICATION FINISHED");
2525
}
2626

2727
/**
@@ -30,8 +30,6 @@ public static void main(String[] args) {
3030
*/
3131
@Override
3232
public void run(String... args) throws Exception {
33-
LOG.info("START : command line runner");
3433
LOG.info("EXECUTING : command line runner");
35-
LOG.info("END : command line runner");
3634
}
3735
}

0 commit comments

Comments
 (0)