diff --git a/gradle/changelog/scm-core-version-logging.yaml b/gradle/changelog/scm-core-version-logging.yaml new file mode 100644 index 0000000000..401b2fde3c --- /dev/null +++ b/gradle/changelog/scm-core-version-logging.yaml @@ -0,0 +1,2 @@ +- type: added + description: The core version of the SCM-Manager gets logged at the beginning of the application lifecycle diff --git a/scm-webapp/src/main/java/sonia/scm/lifecycle/BootstrapContextListener.java b/scm-webapp/src/main/java/sonia/scm/lifecycle/BootstrapContextListener.java index a23f0b42b2..71c16d0613 100644 --- a/scm-webapp/src/main/java/sonia/scm/lifecycle/BootstrapContextListener.java +++ b/scm-webapp/src/main/java/sonia/scm/lifecycle/BootstrapContextListener.java @@ -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);