From 90cbdace025993a11b558f40e1de3dcaa2e2deef Mon Sep 17 00:00:00 2001 From: "hehihoho3@gmail.com" Date: Fri, 18 Jul 2025 16:33:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EB=B0=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 13 +------------ src/main/resources/application-dev.properties | 3 ++- src/main/resources/application-prod.properties | 3 ++- src/main/resources/application.properties | 11 +++++------ 4 files changed, 10 insertions(+), 20 deletions(-) diff --git a/pom.xml b/pom.xml index c701e86..0c81b97 100644 --- a/pom.xml +++ b/pom.xml @@ -103,18 +103,7 @@ test - - - org.bgee.log4jdbc-log4j2 - log4jdbc-log4j2-jdbc4.1 - 1.16 - - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - 3.0.3 - + org.apache.commons diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index 4aea5c4..8ce4307 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1 +1,2 @@ -agent.file.dir.path=X:\\agent_file +agent.file.dir.path=X:\agent_file +spring.thymeleaf.cache=false \ No newline at end of file diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 0d2a396..5c06626 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1 +1,2 @@ -agent.file.dir.path=/home/docker/tomcat_8081_to_8089_2022_0712/kcc_adr_volume/agent_file \ No newline at end of file +agent.file.dir.path=/home/docker/tomcat_8081_to_8089_2022_0712/kcc_adr_volume/agent_file +spring.thymeleaf.cache=true \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0cb7978..65bd8c6 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -13,8 +13,7 @@ server.servlet.session.timeout=120m #sql \ucd9c\ub825 log \uc124\uc815 logging.level.root=INFO -# log4jdbc ??? ???? -logging.level.net.sf.log4jdbc=OFF + # MyBatis SQL ?? ??? logging.level.org.mybatis=info logging.level.jdbc.sqlonly=info @@ -26,10 +25,10 @@ logging.level.jdbc.resultsettable=info # thymeleaf spring.thymeleaf.prefix=classpath:templates/ spring.thymeleaf.suffix=.html -spring.thymeleaf.cache=false + # itn_admin -#spring.main.datasource.driverClassName=com.mysql.cj.jdbc.Driver + spring.main.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy spring.main.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.125:3306/itn_admin?serverTimezone=Asia/Seoul spring.main.datasource.username=itnAdmin @@ -37,7 +36,7 @@ spring.main.datasource.password=itntest123 # ??? ?? ?? DB spring.commute.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy -#spring.commute.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.200:3312/biostar2_ac?serverTimezone=Asia/Seoul + spring.commute.datasource.jdbc-url=jdbc:log4jdbc:mysql://192.168.0.31:3312/biostar2_ac?serverTimezone=Asia/Seoul spring.commute.datasource.username=root spring.commute.datasource.password=itntest123 @@ -54,6 +53,6 @@ spring.gw.datasource.password=itntest123 logging.config=classpath:logback-spring.xml logging.config.path=/data/tomcat/tomcat_api_9100_2023_0711/logs logging.config.filename=mjonApi_log -#logging.level.root=DEBUG + logging.level.net.sf.log4jdbc.sql.jdbcapi=DEBUG