FO/BO YML 공통 수정

This commit is contained in:
김현주
2025-07-15 13:09:08 +09:00
parent fec12b743c
commit 63387856e9
8 changed files with 143 additions and 183 deletions

View File

@@ -1,32 +1,17 @@
# ==============================================
# 애플리케이션 로깅 설정
# ==============================================
logging:
file:
# 로그 파일 저장 경로 (사용자 홈 디렉토리 내 logs 폴더)
# ${user.home}은 시스템 사용자 홈 디렉토리를 가리킵니다
path: ${user.home}/logs
level:
# 애플리케이션 기본 패키지 로깅 레벨 설정 (DEBUG로 설정됨)
# 중요: 실제 애플리케이션 기본 패키지 경로로 변경해야 정상 작동합니다
app.module: DEBUG
# Spring 프레임워크 코어 로깅 레벨 (INFO 로 설정)
org.springframework: INFO
# ==============================================
# 메시지 및 국제화(i18n) 설정
# ==============================================
spring:
# ==============================================
# 메시지 및 국제화(i18n) 설정
# ==============================================
messages:
# 메시지 소스 캐시 지속 시간(초)
# 4초마다 메시지 파일을 다시 읽어옵니다
# 개발 시에는 짧은 간격으로, 운영 시에는 길게 설정하는 것이 일반적
cache-duration: 10s
thymeleaf:
# 타임리프 템플릿 캐시 비활성화 (개발 환경에서는 false 로 설정 권장)
cache: false
# ==============================================
# 타임리프 설정
# ==============================================
thymeleaf:
cache: false # 타임리프 템플릿 캐시 비활성화 (개발 환경에서는 false 로 설정 권장)
# ==============================================
# 데이터베이스 설정
# ==============================================
@@ -44,6 +29,14 @@ spring:
maximum-pool-size: 2
minimum-idle: 1
# ==============================================
# 로깅 설정
# ==============================================
logging:
level:
app:
module: DEBUG # 애플리케이션 기본 패키지 로깅 레벨 (패키지 경로 변경 필요시 수정)
# ==============================================
# 암호화 설정
# ==============================================

View File

@@ -1,29 +1,15 @@
# ==============================================
# 애플리케이션 로깅 설정
# ==============================================
logging:
file:
# 로그 파일 저장 경로 (시스템 사용자 홈 디렉토리 하위 logs 폴더)
path: ${user.home}/logs
level:
# 애플리케이션 기본 패키지 로깅 레벨 (INFO 로 설정)
# 주의: 기본 패키지 변경 시 app.module 부분을 반드시 수정해야 애플리케이션 로그가 출력됨
app.module: DEBUG
# Spring 프레임워크 로깅 레벨
org.springframework: INFO
# Spring Security 로깅 레벨
org.springframework.security: INFO
# ==============================================
# 메시지 및 다국어 처리 설정
# ==============================================
spring:
# ==============================================
# 메시지 및 다국어 처리 설정
# ==============================================
messages:
# 메시지 캐시 지속 시간(초)
cache-duration: 10s
# ==============================================
# 타임리프 설정
# ==============================================
thymeleaf:
# 타임리프 템플릿 캐시 비활성화 (개발 환경에서는 false 로 설정 권장)
cache: false
cache: false # 타임리프 템플릿 캐시 비활성화 (개발 환경에서는 false 로 설정 권장)
# ==============================================
# 데이터베이스 설정
# ==============================================
@@ -40,13 +26,18 @@ spring:
password: hyunjoo1@#4
maximum-pool-size: 2
minimum-idle: 1
hikari:
maximum-pool-size: 10
minimum-idle: 5
idle-timeout: 120000
max-lifetime: 900000
connection-timeout: 5000
leak-detection-threshold: 30000
# ==============================================
# 로깅 설정
# ==============================================
logging:
level:
app:
module: DEBUG # 애플리케이션 기본 패키지 로깅 레벨 (패키지 경로 변경 필요시 수정)
# Spring Bean 등록 과정도 확인
org.springframework.beans.factory.support.DefaultListableBeanFactory: DEBUG
org.apache.ibatis: TRACE
org.mybatis.spring: TRACE
# ==============================================
# 암호화 설정

View File

@@ -1,25 +1,12 @@
# ==============================================
# 애플리케이션 로깅 설정
# ==============================================
logging:
file:
# 로그 파일 저장 위치 (사용자 홈 디렉토리 내 logs 폴더)
# ${user.home}은 시스템의 사용자 홈 디렉토리를 참조합니다
path: ${user.home}/logs
level:
# 애플리케이션 기본 패키지 로깅 레벨 (INFO 레벨로 설정)
# 주의: 실제 애플리케이션의 기본 패키지 경로로 변경해야 합니다
app.module: INFO
# Spring Framework 코어 모듈 로깅 레벨 (INFO 레벨로 설정)
org.springframework: INFO
# ==============================================
# 메시지 및 국제화(i18n) 설정
# ==============================================
spring:
# ==============================================
# 메시지 및 국제화(i18n) 설정
# ==============================================
messages:
# 메시지 소스 캐시 지속 시간 (단위: 초)
# 개발 환경에서는 짧은 간격(10-60초), 운영 환경에서는 긴 간격(3600초 이상) 권장
cache-duration: 5m
# ==============================================
# 데이터베이스 설정
# ==============================================
datasource:
@@ -35,8 +22,9 @@ spring:
password: ENC(kUIzqWTu0+bqjYH4Jq9TFOOh3UwY+XVvA2OlT4VXJvxWCas66UNdGRmWDQKri5fI)
maximum-pool-size: 2
minimum-idle: 1
# ==============================================
# 서버 압축 설정
# 세션 설정
# ==============================================
server:
servlet:

View File

@@ -1,7 +1,7 @@
# ==============================================
# 메세지 및 다국어 처리 설정
# ==============================================
spring:
# ==============================================
# 메세지 및 다국어 처리 설정
# ==============================================
messages:
# 다국어 메시지 파일 위치 설정 (쉼표로 구분)
basename: messages/message,messages/exception,messages/validation,messages/uri,messages/operation,messages/security-message,messages/operation-log
@@ -36,11 +36,6 @@ spring:
enabled: true
# 버저닝 적용 경로
paths: /**
# ==============================================
# 타임리프 설정
# ==============================================
thymeleaf: # 타임리프 템플릿 캐시 비활성화 (개발시 false 권장)
cache: false
# ==============================================
# 서버 압축 설정
@@ -90,6 +85,9 @@ app:
# 로깅 설정
# ==============================================
logging:
file:
# 로그 파일 저장 경로 (시스템 사용자 홈 디렉토리 하위 logs 폴더)
path: ${user.home}/logs
level:
org:
hibernate:
@@ -97,16 +95,10 @@ logging:
jdbc:
# Hibernate SQL 파라미터 바인딩 값 로깅 레벨
bind: trace
app.module: DEBUG
org.springframework: INFO
org.apache.ibatis: TRACE
org.mybatis.spring: TRACE
# Spring Bean 등록 과정도 확인
org.springframework.beans.factory.support.DefaultListableBeanFactory: DEBUG
file:
# 로그 파일 저장 경로
path: ${user.home}/logs
# Spring Framework 코어 모듈 로깅 레벨 (INFO 레벨로 설정)
springframework: INFO
app:
module: INFO # 애플리케이션 기본 패키지 로깅 레벨 (패키지 경로 변경 필요시 수정)
# ==============================================
# MyBatis 설정
@@ -117,3 +109,11 @@ mybatis:
mms: classpath*:mappers/mms/*Mapper.xml # 매퍼 파일 위치
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # SQL 로깅 구현체
# ==============================================
# 암호화 설정
# ==============================================
jasypt:
encryptor:
password: #별도관리
algorithm: #별도관리