Add logging for the used scm-manager core version

This commit is contained in:
Thomas Zerr
2024-08-13 16:15:30 +02:00
parent 27f78d2347
commit 39e8f66565
2 changed files with 3 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ public class BootstrapContextListener extends GuiceServletContextListener {
protected Injector getInjector() {
ConfigurationResolver configurationResolver = new ConfigurationResolver();
configureLoggers();
LOG.info("start scm-manager version {}", SCMContext.getContext().getVersion());
Throwable startupError = SCMContext.getContext().getStartupError();
if (startupError != null) {
LOG.error("received unrecoverable error during startup", startupError);