From 527c7b8cfa0390ec399c94b7893a5efeb90e698f Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 5 Nov 2024 09:13:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt b/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt index b256783..80e3be5 100644 --- a/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt +++ b/src/main/kotlin/com/lanyuanxiaoyao/digtal/market/Application.kt @@ -70,6 +70,8 @@ class Application : ApplicationRunner, ApplicationListener { @Configuration @ExperimentalStdlibApi class Configuration { + private val logger = LoggerFactory.getLogger(javaClass) + @Bean fun jvmManagement( driverProperties: DriverProperties, @@ -77,6 +79,10 @@ class Configuration { ): Management = JvmManagement( database = LocalFileDatabase(databaseProperties.jsonPath) ).also { management -> + logger.info("Loaded driver path: {}", driverProperties.driverPath) + logger.info("Loaded binary path: {}", driverProperties.binaryPath) + logger.info("Loaded database path: {}", databaseProperties.h2Path) + logger.info("Loaded database path: {}", databaseProperties.jsonPath) management .fetchConfiguration() .let { information ->