요약
DEBUG
로 운영 후, 이상이 없다면 INFO
로 변경DEBUG
로 변경LOG_LEVEL: DEBUG
ROOT_LOG_LEVEL: ERROR
logging:
level:
root: ${ROOT_LOG_LEVEL}
org.hibernate.orm.jdbc.bind: TRACE
io.leeeseunghee: ${LOG_LEVEL}
# MSA 구조일 경우, 아래 추가
org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator: INFO
org.springframework.cloud.gateway: DEBUG
LOG_PATH_NAME: /wisoft/logs/backend/dev/fcfs
LOG_FILE_NAME: fcfs
logging:
file:
name: ${LOG_PATH_NAME}/${LOG_FILE_NAME}.log
pattern:
console: '%d %clr([%-5level]) %replace(%caller{1}){"Caller\\+\\d at ",""}%msg%n'
file: "%d [%-5level] [%thread] [%c{25}] [%method] %msg%n"