Log useful information on startup
Include the bootstrap version number in the banner and log information such as the host name when starting. Issue: #53030523
This commit is contained in:
@@ -131,7 +131,7 @@ public class SpringApplicationRunner {
|
||||
// User reflection to load and call Spring
|
||||
Class<?> application = getContextClassLoader().loadClass(
|
||||
"org.springframework.bootstrap.SpringApplication");
|
||||
Method method = application.getMethod("run", Object[].class,
|
||||
Method method = application.getMethod("runFromScript", Object[].class,
|
||||
String[].class);
|
||||
this.applicationContext = method.invoke(null, this.sources,
|
||||
SpringApplicationRunner.this.args);
|
||||
|
||||
Reference in New Issue
Block a user