|
|
@ -67,6 +67,7 @@ class StartupInfoLogger {
|
|
|
|
message.append("Starting ");
|
|
|
|
message.append("Starting ");
|
|
|
|
appendApplicationName(message);
|
|
|
|
appendApplicationName(message);
|
|
|
|
appendVersion(message, this.sourceClass);
|
|
|
|
appendVersion(message, this.sourceClass);
|
|
|
|
|
|
|
|
appendJavaVersion(message);
|
|
|
|
appendOn(message);
|
|
|
|
appendOn(message);
|
|
|
|
appendPid(message);
|
|
|
|
appendPid(message);
|
|
|
|
appendContext(message);
|
|
|
|
appendContext(message);
|
|
|
@ -147,6 +148,10 @@ class StartupInfoLogger {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void appendJavaVersion(StringBuilder message) {
|
|
|
|
|
|
|
|
append(message, "using Java ", () -> System.getProperty("java.version"));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void append(StringBuilder message, String prefix, Callable<Object> call) {
|
|
|
|
private void append(StringBuilder message, String prefix, Callable<Object> call) {
|
|
|
|
append(message, prefix, call, "");
|
|
|
|
append(message, prefix, call, "");
|
|
|
|
}
|
|
|
|
}
|
|
|
|