refactor: prod 프로퍼티 추가

This commit is contained in:
hylee 2023-04-18 12:52:22 +09:00
parent 100a9e3011
commit d45a7a9f60
2 changed files with 31 additions and 16 deletions

View File

@ -0,0 +1,15 @@
# DB INFO
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://192.168.0.125:3306/mjon?serverTimezone=Asia/Seoul
spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
spring.datasource.url=jdbc:log4jdbc:mysql://192.168.0.125:3306/mjon?serverTimezone=Asia/Seoul
spring.datasource.username=mjonUr
spring.datasource.password=mjon!@#$
server.port=9100

View File

@ -1,16 +1,16 @@
spring.profiles.active=dev
# mybatis setting
mybatis.mapper-locations=classpath:mapper/**/*.xml
# model camel case set
mybatis.configuration.map-underscore-to-camel-case=true
#sql \ucd9c\ub825 log \uc124\uc815
logging.level.jdbc.sqlonly=off
logging.level.jdbc.sqltiming=info
logging.level.jdbc.audit=off
logging.level.jdbc.resultset=off
logging.level.jdbc.resultsettable=off
spring.profiles.active=dev
# mybatis setting
mybatis.mapper-locations=classpath:mapper/**/*.xml
# model camel case set
mybatis.configuration.map-underscore-to-camel-case=true
#sql \ucd9c\ub825 log \uc124\uc815
logging.level.jdbc.sqlonly=off
logging.level.jdbc.sqltiming=info
logging.level.jdbc.audit=off
logging.level.jdbc.resultset=off
logging.level.jdbc.resultsettable=off