mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-02 02:10:53 +01:00
Add logging for the used scm-manager core version
This commit is contained in:
2
gradle/changelog/scm-core-version-logging.yaml
Normal file
2
gradle/changelog/scm-core-version-logging.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: added
|
||||
description: The core version of the SCM-Manager gets logged at the beginning of the application lifecycle
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user