Logged the arguements of run method

This commit is contained in:
hemantvsn 2018-06-25 14:27:30 +05:30 committed by GitHub
parent 9241c90660
commit 8a960353db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -31,5 +31,8 @@ public class SpringBootConsoleApplication implements CommandLineRunner {
@Override
public void run(String... args) throws Exception {
LOG.info("EXECUTING : command line runner");
for (int i = 0; i < args.length; ++i) {
LOG.info("args[{}]: {}", i, args[i]);
}
}
}