File tree 1 file changed +2
-4
lines changed
spring-boot/src/main/java/com/baeldung/springbootnonwebapp
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 16
16
@ SpringBootApplication
17
17
public class SpringBootConsoleApplication implements CommandLineRunner {
18
18
19
- private static final Logger LOG = LoggerFactory .getLogger (SpringBootConsoleApplication .class );
19
+ private static Logger LOG = LoggerFactory .getLogger (SpringBootConsoleApplication .class );
20
20
21
21
public static void main (String [] args ) {
22
22
LOG .info ("STARTING THE APPLICATION" );
23
23
SpringApplication .run (SpringBootConsoleApplication .class , args );
24
- LOG .info ("APPLICATION STARTED " );
24
+ LOG .info ("APPLICATION FINISHED " );
25
25
}
26
26
27
27
/**
@@ -30,8 +30,6 @@ public static void main(String[] args) {
30
30
*/
31
31
@ Override
32
32
public void run (String ... args ) throws Exception {
33
- LOG .info ("START : command line runner" );
34
33
LOG .info ("EXECUTING : command line runner" );
35
- LOG .info ("END : command line runner" );
36
34
}
37
35
}
You can’t perform that action at this time.
0 commit comments